Below commit is to add log and send uevent: 0003-ANDROID-usb-f_accessory-send-uevent-for-51-52-reques.patch Benoit Goby (1): ANDROID: usb: gadget: f_accessory: Add Android Accessory function Vijayavardhan Vennapusa (1): ANDROID: USB: f_accessory: Check dev pointer before decoding ctrl request rickyniu (1): ANDROID: usb: f_accessory: send uevent for 51,52 requests drivers/usb/gadget/Kconfig | 10 + drivers/usb/gadget/function/Makefile | 2 + drivers/usb/gadget/function/f_accessory.c | 1388 +++++++++++++++++++++ include/linux/usb/f_accessory.h | 23 + include/uapi/linux/usb/f_accessory.h | 146 +++ 5 files changed, 1569 insertions(+) create mode 100644 drivers/usb/gadget/function/f_accessory.c create mode 100644 include/linux/usb/f_accessory.h create mode 100644 include/uapi/linux/usb/f_accessory.h -- 2.28.0.1011.ga647a8990f-goog