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

Skip to content
Commit 0c1fec17 authored by Channagoud Kadabi's avatar Channagoud Kadabi
Browse files

drivers: eud: Set the default state for charger & usb



When EUD CSR is enabled set the default cable state and charger state to
enable. If the default state is not enabled the first spoof attach or
charger enable wont work. Add check to make sure if usb is present and
charger is of type SDP/CDP before enabling eud otherwise the initial
state of the extcon will not be correct and we will end up powering on
usb controller by sending spoof attach exton state even though usb is
not really connected.

Change-Id: Icfe3609d116e48251c133f7142e2e19b476f5a4b
Signed-off-by: default avatarChannagoud Kadabi <ckadabi@codeaurora.org>
parent ea5149e3
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