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:

committed by
Gerrit - the friendly Code Review server

父節點
e039f16fa4
當前提交
d76b6b3ceb
@@ -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;
|
||||
|
Reference in New Issue
Block a user