diff options
-rw-r--r-- | sound/soc/codecs/twl4030.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c index c53c7cabbd27..4dbb853eef5a 100644 --- 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; |