]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: omap: mcbsp: Remove redundant checks for the st_data pointer
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 23 Feb 2012 13:40:55 +0000 (15:40 +0200)
committerLiam Girdwood <lrg@ti.com>
Mon, 12 Mar 2012 13:34:23 +0000 (13:34 +0000)
commit8aab0a09741f2698ae1372778224f0628b791cbf
treec456619cc8bc003e18411d200bb1dc8b04b8cf82
parent27237d1143ccfe2afc0d1cbacf4545a964d510d0
ASoC: omap: mcbsp: Remove redundant checks for the st_data pointer

The parent functions of omap_st_start/stop also checks the validity of the
st_data pointer so we do not need to do it again inside of omap_st_start/stop

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