The current tpa6130a2 driver supports only a single instance. This patch series add support for multiple instances by removing the global variable that holds the instance. This is performed by using the component API, regmap, the snd_soc_{info,put,get}_volsw API and DAPM.
The first 3 pathes of this series were already applied, these two are missing
This patch series is based on git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Available at https://git.collabora.com/cgit/user/koike/linux.git/log/?h=sound/review/tpa6...
Helen Koike (2): ASoC: tpa6130a2: Add DAPM support ASoC: tpa6130a2: Remove goto err_gpio
sound/soc/codecs/tpa6130a2.c | 196 ++++++++++++++++++------------------------- sound/soc/codecs/tpa6130a2.h | 11 +-- sound/soc/omap/rx51.c | 23 ++--- 3 files changed, 93 insertions(+), 137 deletions(-)
Changes since v2: ASoC: tpa6130a2: Add DAPM support - Add braces around else statement in tpa6130a2_power_event ASoC: tpa6130a2: Remove goto err_gpio - Add tested-by and reviewed-by from Sebastian