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

Skip to content
Commit 82512708 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti Committed by Gerrit - the friendly Code Review server
Browse files

USB: android: override bcdDevice only if userspace passes it



The composite driver assigns the bcdDevice field in the device
descriptor to the current kernel version. Android composite driver
is overriding this with the default value 0xFFFF. Override bcdDevice
only if the userspace passes a value by writing into
/sys/class/android_usb/android0/bcdDevice file.

Change-Id: I19c62754ea6ae59a71a6aa472964f1a9f622c8e5
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 30afa84a
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