ASoC: max98088 - fix element type of the register cache.
[pandora-kernel.git] / sound / soc / codecs / max98088.c
index b7cf246..d58c575 100644 (file)
@@ -1595,7 +1595,7 @@ static int max98088_dai2_digital_mute(struct snd_soc_dai *codec_dai, int mute)
 
 static void max98088_sync_cache(struct snd_soc_codec *codec)
 {
-       u16 *reg_cache = codec->reg_cache;
+       u8 *reg_cache = codec->reg_cache;
        int i;
 
        if (!codec->cache_sync)