ASoC: twl4030: in-kernel OSS emu compatibility hack
authorGrazvydas Ignotas <notasas@gmail.com>
Fri, 17 Feb 2012 21:42:02 +0000 (23:42 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 17 Feb 2012 23:53:32 +0000 (01:53 +0200)
sound/soc/codecs/twl4030.c

index f798247..611901e 100644 (file)
@@ -1760,9 +1760,11 @@ static int twl4030_hw_params(struct snd_pcm_substream *substream,
                        return -EINVAL;
        }
 
                        return -EINVAL;
        }
 
+#if 0
        if (twl4030->configured)
                /* Ignoring hw_params for already configured DAI */
                return 0;
        if (twl4030->configured)
                /* Ignoring hw_params for already configured DAI */
                return 0;
+#endif
 
        /* bit rate */
        old_mode = twl4030_read_reg_cache(codec,
 
        /* bit rate */
        old_mode = twl4030_read_reg_cache(codec,