mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
usb: typec: ucsi: Actually enable all the interface notifications
The notification mask was not updated properly before all
the notifications were enabled in ucsi_init().
Change-Id: I1af9225b7f419d7ad435448ae24576d4dcbcd4d2
Fixes: 71a1fa0df2a3 ("usb: typec: ucsi: Store the notification mask")
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20200108131347.43217-3-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: 9521e47e9ab8401eb42e8ef5c2c9a46ac7dd8876
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
Signed-off-by: Jack Pham <jackp@codeaurora.org>
This commit is contained in:
parent
9ab8436baa
commit
151ebcaf7b
1 changed files with 1 additions and 0 deletions
|
|
@ -928,6 +928,7 @@ int ucsi_init(struct ucsi *ucsi)
|
|||
}
|
||||
|
||||
/* Enable all notifications */
|
||||
ucsi->ntfy = UCSI_ENABLE_NTFY_ALL;
|
||||
command = UCSI_SET_NOTIFICATION_ENABLE | ucsi->ntfy;
|
||||
ret = ucsi_run_command(ucsi, command, NULL, 0);
|
||||
if (ret < 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue