ALSA: hda/cs35l56: Use set/get APIs to access spi->chip_select
authorAmit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>
Sat, 25 Nov 2023 09:21:29 +0000 (14:51 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 7 Dec 2023 16:23:19 +0000 (16:23 +0000)
commitf05e2f61fe88092e0d341ea27644a84e3386358d
tree75b7467e0f5c0f9f51346934e96c30605acd50d3
parent4ae08845db4c1f759b8382bc7527ab8249230e7f
ALSA: hda/cs35l56: Use set/get APIs to access spi->chip_select

In preparation for adding multiple CS support for a device, set/get
functions were introduces accessing spi->chip_select in
'commit 303feb3cc06a ("spi: Add APIs in spi core to set/get
spi->chip_select and spi->cs_gpiod")'.
Replace spi->chip_select with spi_get_chipselect() API.

Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@amd.com>
Link: https://lore.kernel.org/r/20231125092137.2948-3-amit.kumar-mahapatra@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/pci/hda/cs35l56_hda_spi.c