ASoC: da7213: Fix setting dmic_samplephase and dmic_clk_rate
authorAxel Lin <axel.lin@ingics.com>
Thu, 9 May 2013 13:14:20 +0000 (21:14 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 9 May 2013 13:29:04 +0000 (14:29 +0100)
commit61559af111e41761f5f4f20ce0897345eb59076e
treeb9c188c8695cce9ec7a86750a962be52f10abae4
parentc1be5a5b1b355d40e6cf79cc979eb66dafa24ad1
ASoC: da7213: Fix setting dmic_samplephase and dmic_clk_rate

When set dmic_samplephase and dmic_clk_rate bits for dmic_cfg,
current code checks pdata->dmic_data_sel which is wrong.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org
sound/soc/codecs/da7213.c