OSDN Git Service

power: smb-lib: Disable USB IRQs during high duty cycle
authorFenglin Wu <fenglinw@codeaurora.org>
Thu, 24 Aug 2017 06:28:54 +0000 (14:28 +0800)
committerFenglin Wu <fenglinw@codeaurora.org>
Wed, 20 Sep 2017 04:34:11 +0000 (12:34 +0800)
commit28121ca02fefa7d243c0ffdfa8071d5f22d22dc3
treecc85a5f211b84bff54a66cbca0426a5d797a4565
parent3f06fc9b4a9a547831435fc28d4e6e3d37d05528
power: smb-lib: Disable USB IRQs during high duty cycle

Disable USB IRQs after high duty cycle IRQ triggered and re-enable
them in the delay worker. This helps to avoid the high duty cycle
IRQ storming.

CRs-Fixed: 2094725
Change-Id: Iba22a7402692b5ee5f738cc17ed9c214f6014ac0
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
drivers/power/supply/qcom/smb-lib.c