OSDN Git Service

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)
commita5e0091d62abb9599d9dea505ec0e8c820001831
tree4d5acab9a09d3060960d811e41ec19c5b88972c5
parent0b189395945dc59d327c1e0588d144ce439dfa55
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