]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: cs35l41: Unify hardware configuration
authorLucas Tanure <tanureal@opensource.cirrus.com>
Wed, 13 Apr 2022 08:37:13 +0000 (09:37 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 13 Apr 2022 08:42:32 +0000 (10:42 +0200)
commitbb39c82fc9c2e83700e9578a35a81d184d405a5d
treeb8b76fd3e874a0f164346aae1feac6a671ee9fa3
parentc02c8228f39a35a18b7da5bed4327a96bdd1c782
ALSA: cs35l41: Unify hardware configuration

Both ASoC and HDA require to configure the GPIOs and Boost, so
create a single shared struct for hardware configuration.

Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220413083728.10730-2-tanureal@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/cs35l41.h
sound/pci/hda/cs35l41_hda.c
sound/pci/hda/cs35l41_hda.h
sound/soc/codecs/cs35l41-i2c.c
sound/soc/codecs/cs35l41-spi.c
sound/soc/codecs/cs35l41.c
sound/soc/codecs/cs35l41.h