From 7a5248ffc18a7e0f7662d2dec2edc9cc79c78b2f Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Tue, 21 Feb 2012 09:12:25 +0000 Subject: [PATCH] --- yaml --- r: 293388 b: refs/heads/master c: fdd48f9d1961d579ded4d820348af5f3f0f94463 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/soc/codecs/wm8776.c | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index ae9a20c0f4cc..20ac3a9530b9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 38d78bafb98adb7b256ba24014471c5562ba4ee1 +refs/heads/master: fdd48f9d1961d579ded4d820348af5f3f0f94463 diff --git a/trunk/sound/soc/codecs/wm8776.c b/trunk/sound/soc/codecs/wm8776.c index 33e97d1d8f46..a19db5a0a17a 100644 --- a/trunk/sound/soc/codecs/wm8776.c +++ b/trunk/sound/soc/codecs/wm8776.c @@ -30,6 +30,11 @@ #include "wm8776.h" +enum wm8776_chip_type { + WM8775 = 1, + WM8776, +}; + /* codec private data */ struct wm8776_priv { enum snd_soc_control_type control_type; @@ -512,7 +517,8 @@ static __devexit int wm8776_i2c_remove(struct i2c_client *client) } static const struct i2c_device_id wm8776_i2c_id[] = { - { "wm8776", 0 }, + { "wm8775", WM8775 }, + { "wm8776", WM8776 }, { } }; MODULE_DEVICE_TABLE(i2c, wm8776_i2c_id);