Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9ab8436b authored by Heikki Krogerus's avatar Heikki Krogerus Committed by Jack Pham
Browse files

usb: typec: ucsi: Store the notification mask



The driver needs to ignore any Connector Change Events
before the Connector Change Indication notifications have
actually been enabled. This adds a check to
ucsi_connector_change() function to make sure the function
does not try to process the event unless the Connector
Change notifications have been enabled.

It is quite common that the firmware representing the "PPM"
(Platform Policy Manager) starts generating Connector Change
notifications even when only the Command Completion
notifications are enabled.

Change-Id: I465c91247e70c34b74ede51bb89b103ed9f083c6
Signed-off-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20191230133431.63445-2-heikki.krogerus@linux.intel.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: 71a1fa0df2a3728b8ccb97394be420d1f03df40e
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git


Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent fbefff56
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment