diff options
author | Jason Roche <jroche@nvidia.com> | 2014-07-11 07:55:07 +0000 |
---|---|---|
committer | Mandar Padmawar <mpadmawar@nvidia.com> | 2014-07-21 03:54:11 -0700 |
commit | 53268560ddb085ad2fdabd5efaffe2daff91a940 (patch) | |
tree | 18200a97bca3b34b745e377005a8cfbe70069e96 | |
parent | 4c369b2952fcff9d76e14d282c0a5c73b4a756c1 (diff) |
usbaudio: Update switch driver to report dig. dock
The current switch state output defaults to analog dock
which does not work well with the audio policy and is
not representative of what device is connected, which
is the digital dock.
Bug 1534551
Bug 200006932
Bug 200020653
Bug 200020650
Change-Id: I40d91d79088d600cae1ff68ad98bf5693af507b3
Signed-off-by: Jason Roche <jroche@nvidia.com>
(cherry picked from commit 647145df96d68688bac268c1ecb463d9a6c96f86)
Reviewed-on: http://git-master/r/439922
Tested-by: Anshul Jain (SW) <anshulj@nvidia.com>
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
GVS: Gerrit_Virtual_Submit
-rw-r--r-- | sound/usb/card.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/card.c b/sound/usb/card.c index 223e4fe8e284..58c8df39b3f9 100644 --- a/sound/usb/card.c +++ b/sound/usb/card.c @@ -122,7 +122,7 @@ static struct usb_driver usb_audio_driver; enum switch_state { STATE_CONNECTED_UNKNOWN = -1, STATE_DISCONNECTED = 0, - STATE_CONNECTED = 1 + STATE_CONNECTED = 2 }; static struct switch_dev usb_switch_dev = { |