MLK-17077 staging: typec: clear vbus change event in irq handler
authorLi Jun <jun.li@nxp.com>
Wed, 6 Dec 2017 14:05:31 +0000 (22:05 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:50:26 +0000 (14:50 -0500)
commit6d3c4cbe99bf01a12466bbbbd111fbbcf84e4f33
treed130534dc81b7186952bff7d6bf404ac13df2ac4
parent8a57a1493f6d2b4ec04339c686980bba2b133f80
MLK-17077 staging: typec: clear vbus change event in irq handler

For vbus change event, we need read the vbus status to clear
the alert. Current code do this in queue work, this has problem
on single core running, the queue work of vbus change may have
no chance to be scheduled as we continue receive the vbus change
event in threaded irq.

Acked-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
drivers/staging/typec/tcpci.c