device_google_zumapro/usb/gadget
Amit Sunil Dhamne 7f688ffd28 UsbGadget: Update SDP enum timeout when gadget is pulled up
Indicate to the kernel that the usb gadget is pulled up
by writing to `update_sdp_enum_timeout` sysfs node. Write
to this node will inform the kernel that it can lower the SDP
timeout alarm value which is used to detect an SDP port
vs a DCP.

Bug:356685367
Test: Check `update_sdp_enum_timeout` is written into after usb
      gadget is pulled up. Verify that the alarm timeout lowers.
Flag: EXEMPT bugfix
Change-Id: Id3ae7e7a20b236cec6604414a7f81860e868bdd0
(ported from commit d8e2a02998fc1db9be00dab69a213378fb3caede)
Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
2024-08-20 18:36:29 -07:00
..
Android.bp init zumapro from zuma sha 4daedb8feb4d4 2023-03-31 15:10:16 +00:00
android.hardware.usb.gadget-service.rc usb: add all i2c number 2023-08-24 15:45:35 +08:00
android.hardware.usb.gadget-service.xml init zumapro from zuma sha 4daedb8feb4d4 2023-03-31 15:10:16 +00:00
service_gadget.cpp init zumapro from zuma sha 4daedb8feb4d4 2023-03-31 15:10:16 +00:00
UsbGadget.cpp UsbGadget: Update SDP enum timeout when gadget is pulled up 2024-08-20 18:36:29 -07:00
UsbGadget.h UsbGadget: Update SDP enum timeout when gadget is pulled up 2024-08-20 18:36:29 -07:00