]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita2dc037305b725acde8cc68ec4a43e745ddc9788
treec87a87ceff4b13a1a1770fb2f2ef3ef120367d0d
parentb9274e9ee0944859ab564b295f57e2b7b22590fb
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