]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitcbf1146d5ee113152c5cdeb54ff9d4b2f0c91736
tree0ddb8855b45b3f37234087fd78c86db7d88f2ccb
parent090cec81ae9b4ff0c1d301b722f0e6c5fb72d8f9
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