summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/alc5632.c
diff options
context:
space:
mode:
authorLeon Romanovsky2011-11-17 11:01:29 +0100
committerMark Brown2011-11-17 17:48:17 +0100
commit9b4156cbe9c18605d42ecf80bb99364d0c5b884a (patch)
treedccc693c3876a9699fd5707a1dd23616f9bb92af /sound/soc/codecs/alc5632.c
parentASoC: alc5632: Remove unrelevant registers and name the relevant (diff)
downloadkernel-qcow2-linux-9b4156cbe9c18605d42ecf80bb99364d0c5b884a.tar.gz
kernel-qcow2-linux-9b4156cbe9c18605d42ecf80bb99364d0c5b884a.tar.xz
kernel-qcow2-linux-9b4156cbe9c18605d42ecf80bb99364d0c5b884a.zip
ASoC: alc5632: Added support of two undocumented registers
There are two undocumented registers in use in alc5632_i2c_probe function. It must be added to support future rewrite of this function to use regmap API completely. Signed-off-by: Leon Romanovsky <leon@leon.nu> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/alc5632.c')
-rw-r--r--sound/soc/codecs/alc5632.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/alc5632.c b/sound/soc/codecs/alc5632.c
index 96605423437d..be102281c0a7 100644
--- a/sound/soc/codecs/alc5632.c
+++ b/sound/soc/codecs/alc5632.c
@@ -104,6 +104,8 @@ static bool alc5632_volatile_register(struct device *dev,
case ALC5632_OVER_CURR_STATUS:
case ALC5632_HID_CTRL_DATA:
case ALC5632_EQ_CTRL:
+ case ALC5632_VENDOR_ID1:
+ case ALC5632_VENDOR_ID2:
return true;
default: