aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-12-07 20:20:35 +0000
committerMark Brown <broonie@kernel.org>2023-12-07 20:20:35 +0000
commit88a50c1663ffa9f6b31705c6bf7a887a2c8d9434 (patch)
tree77e9b65ad3b670133c14c9b8a90ec3b3ce471443 /sound/pci
parent18f78b5e609b19b56237f0dae47068d44b8b0ecd (diff)
parent4d8ff6b0991d5e86b17b235fc46ec62e9195cb9b (diff)
downloadlinux-88a50c1663ffa9f6b31705c6bf7a887a2c8d9434.tar.gz
spi: Add support for stacked/parallel memories
Merge series from Amit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>: This patch series adds support to the SPI framework for using multiple chip selects.
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/hda/cs35l56_hda_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/cs35l56_hda_spi.c b/sound/pci/hda/cs35l56_hda_spi.c
index 756aec342eab7f..1c5cb3b1e2c342 100644
--- a/sound/pci/hda/cs35l56_hda_spi.c
+++ b/sound/pci/hda/cs35l56_hda_spi.c
@@ -29,7 +29,7 @@ static int cs35l56_hda_spi_probe(struct spi_device *spi)
return ret;
}
- ret = cs35l56_hda_common_probe(cs35l56, spi->chip_select);
+ ret = cs35l56_hda_common_probe(cs35l56, spi_get_chipselect(spi, 0));
if (ret)
return ret;
ret = cs35l56_irq_request(&cs35l56->base, spi->irq);