diff options
author | Ricard Wanderlof <ricardw@axis.com> | 2022-04-28 18:46:35 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-05-03 13:43:35 +0100 |
commit | c7b92395836c3962eedbe6b4f58f9dfb2b2cc921 (patch) | |
tree | f5c9d85470e6a1d25d1792c322d5693f9fd9fdec /sound/soc/codecs/adau17x1.h | |
parent | c8220e87213b23ccb4b58b0048d86e3c4f234c88 (diff) |
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>
Diffstat (limited to 'sound/soc/codecs/adau17x1.h')
-rw-r--r-- | sound/soc/codecs/adau17x1.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/adau17x1.h b/sound/soc/codecs/adau17x1.h index 98a3b6f5bc96..5e58abfffc3d 100644 --- a/sound/soc/codecs/adau17x1.h +++ b/sound/soc/codecs/adau17x1.h @@ -10,6 +10,7 @@ enum adau17x1_type { ADAU1361, ADAU1761, + ADAU1761_AS_1361, ADAU1381, ADAU1781, }; |