ARM: mx28: check for gated clocks when setting saif divider
authorWolfram Sang <w.sang@pengutronix.de>
Sat, 10 Sep 2011 10:29:43 +0000 (12:29 +0200)
committerShawn Guo <shawn.guo@linaro.org>
Fri, 27 Jan 2012 03:50:14 +0000 (11:50 +0800)
Like with all other clocks, the divider for the SAIF devices should not
be altered when the clock is gated. Bail out when this is the case like
the other clocks do.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Dong Aisheng-B29396 <B29396@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>

No differences found