ASoC: mxs-saif: Store saif state
authorMarkus Pargmann <mpa@pengutronix.de>
Fri, 11 Oct 2013 10:11:03 +0000 (12:11 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 14 Oct 2013 17:01:50 +0000 (18:01 +0100)
Trigger commands may be passed multiple times. To avoid errors with
clk_enable/disable, store the saif state and return if saif is already
running/stopped.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Mark Brown <broonie@linaro.org>

No differences found