• M
    wil6210: missing reinit_completion in HALP voting · 18618a9f
    Maya Erez 提交于
    After setting HALP ICR bit, we keep it set until HALP unvote.
    Masking HALP ICR should protect the driver from hitting the HALP ICR
    over and over again. However, in case there is another MISC ICR
    we will read the HALP ICR and issue a completion. This can lead to
    a case where HALP voting is completed immediately, as the completion
    is already set.
    Reinit the HALP completion before the actual vote will clear previous
    completions and protect from such cases.
    Signed-off-by: NMaya Erez <qca_merez@qca.qualcomm.com>
    Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
    18618a9f
main.c 31.1 KB