]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: don't touch pxa-ssp registers when stream is running
authorDaniel Mack <daniel@caiaq.de>
Tue, 10 Mar 2009 15:41:00 +0000 (16:41 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 10 Mar 2009 19:44:04 +0000 (19:44 +0000)
commit03eece7dc3f86ea76caf8a22329d611806db9221
tree0ddb8855b45b3f37234087fd78c86db7d88f2ccb
parente825ba486d022cdf7f3244a81902031ddf3db639
ASoC: don't touch pxa-ssp registers when stream is running

In pxa_ssp_set_dai_fmt(), check whether there is anything to do at all.
If there would be but the SSP port is in use already, bail out.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/pxa/pxa-ssp.c