Merge branch 'for-3.2' into for-3.3
[deliverable/linux.git] / sound / soc / codecs / cs42l51.c
index e378c4d520275721f130adab191b3441ab70351f..528510b8e5de4962441e1352bed424c7fae53c84 100644 (file)
@@ -22,7 +22,6 @@
  */
 
 #include <linux/module.h>
-#include <linux/platform_device.h>
 #include <linux/slab.h>
 #include <sound/core.h>
 #include <sound/soc.h>
@@ -552,7 +551,7 @@ static int cs42l51_probe(struct snd_soc_codec *codec)
 
 static struct snd_soc_codec_driver soc_codec_device_cs42l51 = {
        .probe =        cs42l51_probe,
-       .reg_cache_size = CS42L51_NUMREGS,
+       .reg_cache_size = CS42L51_NUMREGS + 1,
        .reg_word_size = sizeof(u8),
 };
 
This page took 0.025657 seconds and 5 git commands to generate.