WSA884X has different uniq id than WSA883X Change-Id: Ibb785f3edcc0ae4e8a79849bd8f01a891f5b46ae Signed-off-by: Matthew Rice <[email protected]>
@@ -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;