diff --git a/[refs] b/[refs] index cfef5a3d13f4..cb00f5e7d620 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d751b233bb8568f1de1ccbe3824ca69090326251 +refs/heads/master: 8ddd440768e04e0c158c2bfa6178928e1f1eef3e diff --git a/trunk/sound/soc/codecs/uda1380.c b/trunk/sound/soc/codecs/uda1380.c index cb50486201f1..6d5335b14d51 100644 --- a/trunk/sound/soc/codecs/uda1380.c +++ b/trunk/sound/soc/codecs/uda1380.c @@ -655,8 +655,8 @@ static int uda1380_init(struct snd_soc_device *socdev, int dac_clk) GFP_KERNEL); if (codec->reg_cache == NULL) return -ENOMEM; - codec->reg_cache_size = sizeof(uda1380_reg); - codec->reg_cache_step = 2; + codec->reg_cache_size = ARRAY_SIZE(uda1380_reg); + codec->reg_cache_step = 1; uda1380_reset(codec); /* register pcms */