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

Skip to content
Commit 08f1b437 authored by Ajay Agarwal's avatar Ajay Agarwal
Browse files

usb: ci13xxx_udc: Set gadget state to NOT_ATTACHED on disconnect



Currently we do not mark the gadget state to NOT_ATTACHED on
peripheral cable disconnect. Then if a floating charger cable is
connected, then the gadget state remains CONFIGURED and floating
charger detect work is not able to detect it as floating charger.

Fix this by marking gadget state to NOT_ATTACHED on cable
disconnect.

Change-Id: I53de2667dacf8cebc2e71a0b96b08f2ec48ebf48
Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent 71636eec
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