浏览代码

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 <[email protected]>
Vatsal Bucha 6 年之前
父节点
当前提交
d76b6b3ceb
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      asoc/codecs/wcd937x/wcd937x.c

+ 0 - 1
asoc/codecs/wcd937x/wcd937x.c

@@ -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;