summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/max98088.c
diff options
context:
space:
mode:
authorNikesh Oswal <noswal@nvidia.com>2011-10-17 21:15:26 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:49:25 -0800
commit3c252892a2a832b2a682110c7bcf10ba3411bba0 (patch)
treeec9ba391f012071a4a4e00b239a058fbb554b109 /sound/soc/codecs/max98088.c
parenta475dbad768df75ebbb19c61e6c0fffd9a1c9edc (diff)
asoc: max98088: fix cache restore operation
Bug: 862023 Change-Id: I17352ed290b3f1e319dc8efd112bb6dfddc51f52 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/58416 Reviewed-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Rebase-Id: Re6ec1485173c3504a13d760a25d34ccd571489e5
Diffstat (limited to 'sound/soc/codecs/max98088.c')
-rw-r--r--sound/soc/codecs/max98088.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/max98088.c b/sound/soc/codecs/max98088.c
index 149d76c62086..ee98deabaaae 100644
--- a/sound/soc/codecs/max98088.c
+++ b/sound/soc/codecs/max98088.c
@@ -1600,7 +1600,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)