ASoC: fsl-asoc-card: Don't bypass settings if cpu-dai is Master
authorNicolin Chen <nicoleotsuka@gmail.com>
Fri, 24 Oct 2014 23:48:11 +0000 (16:48 -0700)
committerMark Brown <broonie@kernel.org>
Tue, 28 Oct 2014 16:05:04 +0000 (16:05 +0000)
commit41282920aa35033a4fcf2bc68aeba42a037e6c4d
treeb77fd2c1913d32e5849ed71b13f99031c5b60737
parentf114040e3ea6e07372334ade75d1ee0775c355e1
ASoC: fsl-asoc-card: Don't bypass settings if cpu-dai is Master

When cpu-dai is the DAI Master (CBM_CFx), it may need some configurations,
set_sysclk() call for eample, for cpu-dai side in the hw_params(), even if
the set_bias_level() has already taken care of the codec-dai side.

So this patch just simply adds an additional condition.

Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl-asoc-card.c