diff options
| author | Saranya Gopal <[email protected]> | 2021-10-20 07:56:19 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-10-20 19:31:13 +0200 |
| commit | 9990f2f6264cd19cb6ba12d9f9c1c30ae8351096 (patch) | |
| tree | 30d512179f3d51c663cf9a0beef00cbe28ea7f03 /lib/mpi/mpiutil.c | |
| parent | 8ef1e58783b9f55daa4a865c7801dc75cbeb8260 (diff) | |
usb: typec: tipd: Enable event interrupts by default
TI PD controller comes with notification mechanism to inform
the host on activity in the PD controller. In the current
driver, the required masks are not set. This patch enables
the following events in the interrupt mask register:
PowerStatusUpdate - Set whenever contents of the power status reg changes
DataStatusUpdate - Set whenever contents of the data status reg changes
PlugInsertOrRemoval - Set whenever USB plug status has changed
With this change, the interrupt flooding issue is not seen anymore.
Suggested-by: Rajaram Regupathy <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Acked-by: Hans de Goede <[email protected]>
Signed-off-by: Saranya Gopal <[email protected]>
Datasheet: https://www.ti.com/lit/ug/slvuan1a/slvuan1a.pdf
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions