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

Commit 68ddced1 authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa Committed by Gerrit - the friendly Code Review server
Browse files

USB: f_accessory: Set manufacturer and model string to default value



Currenlty USB driver is resetting strings like manufacturer, model
to zero as part of handling control request for protol version. Some
accessory docks may not send manufacturer and model strings before sending
control request to enable audiosource USB compostion. This results in
userspace enabling audio source composition without accessory interface.
If accessory dock is connected during bootup, accessory timeouts in
configuring android device and results in detection failure. Userspace does
have recovery mechanism if incase accessory dock timeouts to configure
android device in accessory composition. Hence set manufacturer and model
strings to default value so that userspace enables accessory + audiosource
composition for userspace recovery to be working and detecting accessory
dock successfully during bootup.

Change-Id: Ibe4dd9d951a9615ae100e68dc15b3614e9834848
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent 0dc787c3
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