diff options
author | Tzung-Bi Shih <tzungbi@google.com> | 2020-06-05 05:49:30 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-06-15 17:44:03 +0200 |
commit | 3aad07b87ac3fa1c67a75403f7f9c576da8df71d (patch) | |
tree | d2b0b10146735f99bdfb193c48fddb6aaf2908b9 /sound/soc/codecs/max98357a.c | |
parent | Merge existing fixes from asoc/for-5.8 (diff) | |
download | linux-3aad07b87ac3fa1c67a75403f7f9c576da8df71d.tar.xz linux-3aad07b87ac3fa1c67a75403f7f9c576da8df71d.zip |
ASoC: max98357a: add compatible string for MAX98360A
Maxim MAX98360A audio amplifier is functionally identical to MAX98357A.
Adds compatible string "maxim,max98360a" for driver reuse.
Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/r/20200605034931.107713-2-tzungbi@google.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/max98357a.c')
-rw-r--r-- | sound/soc/codecs/max98357a.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/max98357a.c b/sound/soc/codecs/max98357a.c index a8bd793a7867..4f431133d0bb 100644 --- a/sound/soc/codecs/max98357a.c +++ b/sound/soc/codecs/max98357a.c @@ -125,6 +125,7 @@ static int max98357a_platform_probe(struct platform_device *pdev) #ifdef CONFIG_OF static const struct of_device_id max98357a_device_id[] = { { .compatible = "maxim,max98357a" }, + { .compatible = "maxim,max98360a" }, {} }; MODULE_DEVICE_TABLE(of, max98357a_device_id); |