diff options
Diffstat (limited to 'sound/soc/codecs/stac9766.c')
-rw-r--r-- | sound/soc/codecs/stac9766.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/stac9766.c b/sound/soc/codecs/stac9766.c index e34969cdc0e8..cc0566c22ec1 100644 --- a/sound/soc/codecs/stac9766.c +++ b/sound/soc/codecs/stac9766.c | |||
@@ -379,7 +379,7 @@ static struct snd_soc_codec_driver soc_codec_dev_stac9766 = { | |||
379 | .remove = stac9766_codec_remove, | 379 | .remove = stac9766_codec_remove, |
380 | .suspend = stac9766_codec_suspend, | 380 | .suspend = stac9766_codec_suspend, |
381 | .resume = stac9766_codec_resume, | 381 | .resume = stac9766_codec_resume, |
382 | .reg_cache_size = sizeof(stac9766_reg), | 382 | .reg_cache_size = ARRAY_SIZE(stac9766_reg), |
383 | .reg_word_size = sizeof(u16), | 383 | .reg_word_size = sizeof(u16), |
384 | .reg_cache_step = 2, | 384 | .reg_cache_step = 2, |
385 | .reg_cache_default = stac9766_reg, | 385 | .reg_cache_default = stac9766_reg, |