Routing to usb was rejected due to incorrect card number
Fixes regression introduced by: f9f241e4 The card number is updated by adev_set_parameters, that is called after out_set_parameters. As a result, out_set_parameters was using the wrong card number to check for the card presence (in an attempt to ignore rerouting to an unplug card). Thus all routing to USB we denied. Bug: 64532887 Test: Plug and unplug usb headset (skylab) during Photo playback, Youtube, Play music and voice call. Change-Id: I148a0b35067703e6ba3ca3414d3afe9cf6718dc0 Signed-off-by:Kevin Rocard <krocard@google.com>
Loading
Please register or sign in to comment