summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wsa883x.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2024-08-08 09:14:57 +0100
committerMark Brown <broonie@kernel.org>2024-08-08 09:14:57 +0100
commit1a4f7965016b9685bd158f7f306039ce96d2beb5 (patch)
tree2e46d394a3da7e56f1bd5076cd836eaa8f99aef1 /sound/soc/codecs/wsa883x.c
parent7d2fb3812acde0a76e0d361877e8295db065f9f4 (diff)
parenta44b7b57ef144052cd322880c4d2b3d52e563544 (diff)
ASoC: Merge fixes
So we can apply AMD patches that rely on them.
Diffstat (limited to 'sound/soc/codecs/wsa883x.c')
-rw-r--r--sound/soc/codecs/wsa883x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wsa883x.c b/sound/soc/codecs/wsa883x.c
index f0520a896706..47da5674d7c9 100644
--- a/sound/soc/codecs/wsa883x.c
+++ b/sound/soc/codecs/wsa883x.c
@@ -1411,7 +1411,7 @@ static int wsa883x_probe(struct sdw_slave *pdev,
WSA883X_MAX_SWR_PORTS))
dev_dbg(dev, "Static Port mapping not specified\n");
- pdev->prop.sink_ports = GENMASK(WSA883X_MAX_SWR_PORTS, 0);
+ pdev->prop.sink_ports = GENMASK(WSA883X_MAX_SWR_PORTS - 1, 0);
pdev->prop.simple_clk_stop_capable = true;
pdev->prop.sink_dpn_prop = wsa_sink_dpn_prop;
pdev->prop.scp_int1_mask = SDW_SCP_INT1_BUS_CLASH | SDW_SCP_INT1_PARITY;