]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: adau1761: Add ADAU1761-as-ADAU1361 compatibility mode
authorRicard Wanderlof <ricardw@axis.com>
Thu, 28 Apr 2022 16:46:35 +0000 (18:46 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 3 May 2022 12:43:35 +0000 (13:43 +0100)
commit8ced8ed9787b9f820a1beabe6b3c3e83a86a2e06
treef5c9d85470e6a1d25d1792c322d5693f9fd9fdec
parenta0a6238463ee078116b4f658dad1e0b6d1b58bab
ASoC: adau1761: Add ADAU1761-as-ADAU1361 compatibility mode

During probe, determine if the chip is in fact an ADAU1761
even though an ADAU1361 is specified, and perform additional
operations to enable the ADAU1761 to behave as an ADAU1361,
i.e. disregarding the DSP and setting up routing and PM
transparently.

This enables either chip to be mounted when an ADAU1361 is specified.

Signed-off-by: Ricard Wanderlof <ricardw@axis.com>
Link: https://lore.kernel.org/r/alpine.DEB.2.21.2204281841290.5574@lnxricardw1.se.axis.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/adau1761.c
sound/soc/codecs/adau17x1.c
sound/soc/codecs/adau17x1.h