ASoC: omap-mcbsp: Remove cpu_is_omap* checks from the code
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 16 Aug 2012 13:41:06 +0000 (16:41 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 22 Aug 2012 19:17:12 +0000 (20:17 +0100)
commitdc26df52455348e06e4c34a2af2910d291369fe8
treec87a87ceff4b13a1a1770fb2f2ef3ef120367d0d
parent8d3c09096500aa20702395b87c81a62ac9cbe3be
ASoC: omap-mcbsp: Remove cpu_is_omap* checks from the code

We can use the has_ccr flag to replace the cpu_is_omap* checks.
This provides future proof implementation and we do not need to update the
code if new OMAP revision starts to use the McBSP driver.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/omap/omap-mcbsp.c