projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17212e7
)
ASoC: max98357a: add compatible string for MAX98360A
author
Tzung-Bi Shih
<tzungbi@google.com>
Fri, 5 Jun 2020 03:49:30 +0000
(11:49 +0800)
committer
Mark Brown
<broonie@kernel.org>
Mon, 15 Jun 2020 15:44:03 +0000
(16:44 +0100)
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>
sound/soc/codecs/max98357a.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/max98357a.c
b/sound/soc/codecs/max98357a.c
index
a8bd793
..
4f43113
100644
(file)
--- 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);