summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/pcm512x-spi.c
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2014-12-09 11:28:09 +0300
committerMark Brown <broonie@kernel.org>2014-12-22 20:57:30 +0300
commitba5295e55dd941425b10924f4f5c7af6eac4a1cb (patch)
tree08f01110d303cb8d072431a14a15337617640252 /sound/soc/codecs/pcm512x-spi.c
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff)
downloadlinux-ba5295e55dd941425b10924f4f5c7af6eac4a1cb.tar.xz
ASoC: pcm512x: Also support PCM514x devices
Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/pcm512x-spi.c')
-rw-r--r--sound/soc/codecs/pcm512x-spi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/pcm512x-spi.c b/sound/soc/codecs/pcm512x-spi.c
index f297058c0038..7b64a9cef704 100644
--- a/sound/soc/codecs/pcm512x-spi.c
+++ b/sound/soc/codecs/pcm512x-spi.c
@@ -43,6 +43,8 @@ static int pcm512x_spi_remove(struct spi_device *spi)
static const struct spi_device_id pcm512x_spi_id[] = {
{ "pcm5121", },
{ "pcm5122", },
+ { "pcm5141", },
+ { "pcm5142", },
{ },
};
MODULE_DEVICE_TABLE(spi, pcm512x_spi_id);
@@ -50,6 +52,8 @@ MODULE_DEVICE_TABLE(spi, pcm512x_spi_id);
static const struct of_device_id pcm512x_of_match[] = {
{ .compatible = "ti,pcm5121", },
{ .compatible = "ti,pcm5122", },
+ { .compatible = "ti,pcm5141", },
+ { .compatible = "ti,pcm5142", },
{ }
};
MODULE_DEVICE_TABLE(of, pcm512x_of_match);