diff options
author | Badhri Jagan Sridharan <Badhri@google.com> | 2014-12-15 16:42:27 -0800 |
---|---|---|
committer | Sam Protsenko <semen.protsenko@linaro.org> | 2019-05-25 01:40:28 +0300 |
commit | 7627e826b347c26cf8740d4778062496cc7d3d1a (patch) | |
tree | 47b8ef44dc85338fa17070113951649ca38918df /drivers/gpu/pvr/services4/srvkm/env/linux/pvrsrv_sync_server.h | |
parent | 8161359590f689d43a62d72cc9dbae404f5cdaa8 (diff) |
ANDROID: usb: gadget: configfs: Cherry-pick needed patcheslinux-mainline
Board was rebooting constantly with these messages in dmesg:
init: Received control message 'start' for 'setup-bcb' from pid: 333 (system_server)
init: starting service 'setup-bcb'...
init: Service 'setup-bcb' (pid 1688) exited with status 0
init: Received sys.powerctl='reboot,recovery' from pid: 333 (system_server)
...
reboot: Restarting system with command 'recovery'
It was due to RescueParty, as was discovered with 'bcb' command in
U-Boot and then looking to RescueParty messages in logcat. In those
logcat RescueParty messages one could see that next file was abscent:
/sys/class/android_usb/android0/state
It turned out that corresponding code isn't present in linux-mainline.
Cherry-picking next patches adds this file and fixes constant rebooting:
ANDROID: usb: gadget: configfs: Add usb_function ptr to fi struct
ANDROID: usb: gadget: configfs: Add Uevent to notify userspace
ANDROID: usb: gadget: configfs: Add function devices to the parent
ANDROID: usb: gadget: configfs: Add "state" attribute to android_device
ANDROID: usb: gadget: configfs: Add device attribute to determine gadget state
Diffstat (limited to 'drivers/gpu/pvr/services4/srvkm/env/linux/pvrsrv_sync_server.h')
0 files changed, 0 insertions, 0 deletions