Skip to content
  • Michal Kazior's avatar
    ath10k: prevent fw reg dump spam · a2fa8800
    Michal Kazior authored
    
    
    Originally the explicit fw register dump was added
    to wait_for_target_init because interrupts are
    masked early during power_up.
    
    Due to some changes in power_up/reset sequences
    sometimes when fw crashed ath10k would print the
    dump more than once via hif_stop -> warm_reset ->
    wait_for_target_init, possibly with different
    values each.
    
    Prevent this by doing the explicit fw register
    dump only during power_up instead of
    wait_for_target_init.
    
    Signed-off-by: default avatarMichal Kazior <michal.kazior@tieto.com>
    Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
    a2fa8800