Code Review
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
ASoC: Fix build error in twl4030.c
[linux-2.6.git]
/
sound
/
soc
/
codecs
/
twl4030.c
diff --git
a/sound/soc/codecs/twl4030.c
b/sound/soc/codecs/twl4030.c
index c53c7cabbd2739a31723b7b986e8db6eb5504999..4dbb853eef5ad056fec1e6cca89f0becbe579251 100644
(file)
--- a/
sound/soc/codecs/twl4030.c
+++ b/
sound/soc/codecs/twl4030.c
@@
-145,6
+145,7
@@
struct twl4030_priv {
static inline unsigned int twl4030_read_reg_cache(struct snd_soc_codec *codec,
unsigned int reg)
{
+ u8 *cache = codec->reg_cache;
if (reg >= TWL4030_CACHEREGNUM)
return -EIO;