Skip to content

Commit

Permalink
ASoC: wm8776: Add WM8775 device ID to the WM8776
Browse files Browse the repository at this point in the history
The WM8775 is register compatible with the WM8776 so can be supported with
the same driver though it is an ADC only part. Add the device ID to the
WM8776 driver, further updates will be added in the future.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Feb 21, 2012
1 parent 38d78ba commit fdd48f9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion sound/soc/codecs/wm8776.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit fdd48f9

Please sign in to comment.