aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/pcm512x-i2c.c
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2014-12-09 09:28:09 +0100
committerMark Brown <broonie@kernel.org>2014-12-22 17:57:30 +0000
commitba5295e55dd941425b10924f4f5c7af6eac4a1cb (patch)
tree08f01110d303cb8d072431a14a15337617640252 /sound/soc/codecs/pcm512x-i2c.c
parentLinux 3.19-rc1 (diff)
downloadlinux-dev-ba5295e55dd941425b10924f4f5c7af6eac4a1cb.tar.xz
linux-dev-ba5295e55dd941425b10924f4f5c7af6eac4a1cb.zip
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-i2c.c')
-rw-r--r--sound/soc/codecs/pcm512x-i2c.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/pcm512x-i2c.c b/sound/soc/codecs/pcm512x-i2c.c
index d0547fa275fc..dcdfac0ffeb1 100644
--- a/sound/soc/codecs/pcm512x-i2c.c
+++ b/sound/soc/codecs/pcm512x-i2c.c
@@ -46,6 +46,8 @@ static int pcm512x_i2c_remove(struct i2c_client *i2c)
static const struct i2c_device_id pcm512x_i2c_id[] = {
{ "pcm5121", },
{ "pcm5122", },
+ { "pcm5141", },
+ { "pcm5142", },
{ }
};
MODULE_DEVICE_TABLE(i2c, pcm512x_i2c_id);
@@ -53,6 +55,8 @@ MODULE_DEVICE_TABLE(i2c, pcm512x_i2c_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);