1
linux/sound/soc/omap
Jarkko Nikula 4dd0417253 ASoC: omap-mcbsp: Prepare for init time DAI format setting
Before commit 75d9ac4 ("ASoC: Allow DAI formats to be specified in the
dai_link") expectation for omap-mcbsp was that snd_soc_dai_set_fmt is to be
called first in machine hw_params callback before other CPU DAI functions.
Thus it was enough that only omap_mcbsp_dai_set_dai_fmt cleared the
mcbsp->regs structure.  [Note that this was pure convention, it's always
been OK to set things on init -- broonie]

Now this doesn't hold anymore since machine drivers can set the DAI format
only once on init time and thus mcbsp->regs may get out of sync when other
CPU DAI functions are modifying them dynamically with different values
between the calls. Therefore clear the accessed mcbsp->regs bits and
bitfields in other functions too.

Signed-off-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2011-10-02 19:57:07 +01:00
..
am3517evm.c ASoC: AM3517: Update codec name after multi-component update 2011-03-09 11:48:55 +00:00
ams-delta.c ASoC: omap: Fix build errors in ams-delta 2011-08-19 01:19:45 +09:00
igep0020.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
Kconfig Merge branch 'for-3.1' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/asoc-2.6 into topic/asoc 2011-07-05 07:33:23 +02:00
Makefile ASoC: omap-mcpdm: Replace legacy driver 2011-09-22 09:22:50 +03:00
n810.c ASoC: omap: Update e-mail address of Jarkko Nikula 2011-08-12 11:45:10 +09:00
omap3beagle.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
omap3evm.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
omap3pandora.c Merge branch 'for-2.6.37' into for-2.6.38 2010-11-24 11:57:43 +00:00
omap4-hdmi-card.c ASoC: OMAP4: Add HDMI Audio machine driver for OMAP4 boards 2011-06-03 13:43:45 +01:00
omap-hdmi.c ASoC: OMAP: Add CPU DAI driver for HDMI 2011-06-03 13:43:45 +01:00
omap-hdmi.h ASoC: OMAP: Add CPU DAI driver for HDMI 2011-06-03 13:43:45 +01:00
omap-mcbsp.c ASoC: omap-mcbsp: Prepare for init time DAI format setting 2011-10-02 19:57:07 +01:00
omap-mcbsp.h ASoC: omap: Update e-mail address of Jarkko Nikula 2011-08-12 11:45:10 +09:00
omap-mcpdm.c ASoC: omap-mcpdm: API to configure offset cancellation 2011-09-26 22:23:32 +01:00
omap-mcpdm.h ASoC: omap-mcpdm: API to configure offset cancellation 2011-09-26 22:23:32 +01:00
omap-pcm.c ASoC: omap: Update e-mail address of Jarkko Nikula 2011-08-12 11:45:10 +09:00
omap-pcm.h ASoC: omap: Update e-mail address of Jarkko Nikula 2011-08-12 11:45:10 +09:00
osk5912.c Merge branch 'for-2.6.37' into for-2.6.38 2010-11-25 21:16:52 +00:00
overo.c ASoC: Do not include soc-dapm.h 2010-11-22 14:04:41 +00:00
rx51.c ASoC: omap: Update e-mail address of Jarkko Nikula 2011-08-12 11:45:10 +09:00
sdp3430.c MFD: twl4030-codec -> twl4030-audio: Rename the driver 2011-07-04 18:43:56 +03:00
sdp4430.c ASoC: sdp4430: Fix string for FM input name 2011-09-30 12:56:12 +01:00
zoom2.c MFD: twl4030-codec -> twl4030-audio: Rename the driver 2011-07-04 18:43:56 +03:00