device_google_zuma/usb/gadget
Amit Sunil Dhamne e683802386 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.

(ported from c5c5b127a7ed0db559d286284fe77b656bef6945)

Bug:275687235
Test: Check `update_sdp_enum_timeout` is written into after usb
     gadget is pulled up. Verify that the alarm timeout lowers.
Change-Id: Id3ae7e7a20b236cec6604414a7f81860e868bdd0
Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
2023-09-19 13:45:30 -07:00
..
Android.bp Migrate IUsbGadget implementation to AIDL 2023-02-22 06:50:43 +00:00
android.hardware.usb.gadget-service.rc usb: add all i2c number 2023-04-07 15:26:49 +08:00
android.hardware.usb.gadget-service.xml Migrate IUsbGadget implementation to AIDL 2023-02-22 06:50:43 +00:00
service_gadget.cpp Migrate IUsbGadget implementation to AIDL 2023-02-22 06:50:43 +00:00
UsbGadget.cpp UsbGadget: Update SDP enum timeout when gadget is pulled up 2023-09-19 13:45:30 -07:00
UsbGadget.h UsbGadget: Update SDP enum timeout when gadget is pulled up 2023-09-19 13:45:30 -07:00