asoc: codecs: Update wsa884x dev_index to match uniq id
WSA884X has different uniq id than WSA883X Change-Id: Ibb785f3edcc0ae4e8a79849bd8f01a891f5b46ae Signed-off-by: Matthew Rice <mrice@quicinc.com>
This commit is contained in:
@@ -1725,6 +1725,7 @@ static int wsa884x_swr_probe(struct swr_device *pdev)
|
||||
|
||||
/* Get last digit from HEX format */
|
||||
dev_index = (int)((char)(pdev->addr & 0xF));
|
||||
dev_index += 1;
|
||||
|
||||
if (of_device_is_compatible(pdev->dev.of_node, "qcom,wsa884x_2"))
|
||||
dev_index += 2;
|
||||
|
Reference in New Issue
Block a user