summaryrefslogtreecommitdiffstats
path: root/sound/soc/omap/n810.c
diff options
context:
space:
mode:
authorJarkko Nikula <jarkko.nikula@bitmer.com>2011-09-30 16:07:44 +0300
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-02 19:57:07 +0100
commit4dd0417253be35bfbe368c40ec5a10732b24fd65 (patch)
tree11da89922966d61ed18a91c456457b4384e6e0b4 /sound/soc/omap/n810.c
parent177fdd89f9c3f3f157c0b5e0f9c25a3a7c37ecf7 (diff)
downloadop-kernel-dev-4dd0417253be35bfbe368c40ec5a10732b24fd65.zip
op-kernel-dev-4dd0417253be35bfbe368c40ec5a10732b24fd65.tar.gz
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>
Diffstat (limited to 'sound/soc/omap/n810.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud