aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/codecs/cs35l41-i2c.c
diff options
context:
space:
mode:
authorLucas Tanure <tanureal@opensource.cirrus.com>2021-12-17 11:56:59 +0000
committerMark Brown <broonie@kernel.org>2021-12-31 13:21:00 +0000
commita87d42227cf5614fe0040ddd1fe642c54298b42c (patch)
treedfdd62440111ebad26f563fe62c8c4431844c09e /sound/soc/codecs/cs35l41-i2c.c
parentASoC: rt5682: Register wclk with its parent_hws instead of parent_data (diff)
downloadwireguard-linux-a87d42227cf5614fe0040ddd1fe642c54298b42c.tar.xz
wireguard-linux-a87d42227cf5614fe0040ddd1fe642c54298b42c.zip
ASoC: cs35l41: Convert tables to shared source code
To support CS35L41 in HDA systems the HDA driver for CS35L41 would have to duplicate some functions that already exist on ASoC driver So instead of duplicate the code, use the new lib source as a shared resource for both ASoC and HDA Also, change the way CONFIG_SND_SOC_CS35L41 is selected, as reported by Intel Kernel test robot, it is possible to build SND_SOC_CS35L41_SPI/I2C without the main driver, which would lead to build failures. Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com> Reported-by: kernel test robot <lkp@intel.com> Link: https://lore.kernel.org/r/20211217115708.882525-2-tanureal@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs35l41-i2c.c')
-rw-r--r--sound/soc/codecs/cs35l41-i2c.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs35l41-i2c.c b/sound/soc/codecs/cs35l41-i2c.c
index c9b604af6b71..de5c8612f030 100644
--- a/sound/soc/codecs/cs35l41-i2c.c
+++ b/sound/soc/codecs/cs35l41-i2c.c
@@ -17,7 +17,6 @@
#include <linux/platform_device.h>
#include <linux/slab.h>
-#include <sound/cs35l41.h>
#include "cs35l41.h"
static const struct i2c_device_id cs35l41_id_i2c[] = {