mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
ASoC: wcd937x: Fix mbhc detection failure after get logical address fails
Get Logical Address failure comes after SSR during rigorous testing. This calls removal of swr master device attached. Once removal occurs further headset insertion/removal does not get detected. Do not remove swr master device attached to fix the issue. Change-Id: Iac78b4a12ef296566d082e75ac8905f73d6b2a47 Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
This commit is contained in:
parent
e039f16fa4
commit
d76b6b3ceb
1 changed files with 0 additions and 1 deletions
|
|
@ -1491,7 +1491,6 @@ static int wcd937x_get_logical_addr(struct swr_device *swr_dev)
|
|||
dev_err(&swr_dev->dev,
|
||||
"%s get devnum %d for dev addr %lx failed\n",
|
||||
__func__, devnum, swr_dev->addr);
|
||||
swr_remove_device(swr_dev);
|
||||
return ret;
|
||||
}
|
||||
swr_dev->dev_num = devnum;
|
||||
|
|
|
|||
Loading…
Reference in a new issue