]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs35l41: Fix link problem
authorLucas Tanure <tanureal@opensource.cirrus.com>
Thu, 25 Nov 2021 14:35:01 +0000 (14:35 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 26 Nov 2021 13:24:31 +0000 (13:24 +0000)
commit581b4d5fec71cc56501f9bfd82680be5a5a26524
tree4d5acab9a09d3060960d811e41ec19c5b88972c5
parent820198bd8819cb41ad70e7e75475f900258d1b9d
ASoC: cs35l41: Fix link problem

Can't link I2C and SPI to the same binary, better
to move CS35L41 to 3 modules approach.
And instead of exposing cs35l41_reg, volatile_reg,
readable_reg and precious_reg arrays, move
cs35l41_regmap_i2c/spi to new module and expose it.

Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20211125143501.7720-1-tanureal@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig
sound/soc/codecs/Makefile
sound/soc/codecs/cs35l41-i2c.c
sound/soc/codecs/cs35l41-spi.c
sound/soc/codecs/cs35l41-tables.c
sound/soc/codecs/cs35l41.c
sound/soc/codecs/cs35l41.h