OSDN Git Service

ASoC: cs42l42: Split I2C identity into separate module
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Thu, 15 Sep 2022 09:44:40 +0000 (11:44 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 19 Sep 2022 17:05:33 +0000 (18:05 +0100)
commitae9f5e607da47104bc3d02e5c0ed237749f5db51
tree606cdcee3b4913831526c0c369f0e3d43541212d
parent52c2e370df07092437d1515e773d28a5f53fc810
ASoC: cs42l42: Split I2C identity into separate module

Split the I2C bus driver definition and probe()/remove() into a
separate module so that a SoundWire build of CS42L42 support does
not have a spurious dependency on I2C.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Martin PoviĊĦer <povik+lin@cutebit.org>
Link: https://lore.kernel.org/r/20220915094444.11434-8-povik+lin@cutebit.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig
sound/soc/codecs/Makefile
sound/soc/codecs/cs42l42-i2c.c [new file with mode: 0644]
sound/soc/codecs/cs42l42.c
sound/soc/codecs/cs42l42.h