[lkml]   [2011]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] ASoC: codecs: wm8753: Fix DAI mode switching
On Sun, 2011-02-06 at 10:04 +0100, Lars-Peter Clausen wrote:
> The wm8753 codec supports switching between different DAI modes.
> The current drivers tries to implement this by changing the DAI driver at
> runtime. But to properly work this would require support from the ASoC core.
> So this patch takes a different approch on how the DAI mode switching is
> implemented.
> The only difference, from a driver point of view, between the different DAI modes
> is how to program the DAI format to the hardware. So what this patch is, it
> stores the current format for each DAI in the drivers private struct and when
> the DAI mode is changed the format gets simply reprogrammed according to the
> new DAI mode.
> Futhermore this patch restricts the changing of the DAI format to when the
> codec is inactive.
> Signed-off-by: Lars-Peter Clausen <>

Acked-by: Liam Girdwood <>
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.

 \ /
  Last update: 2011-02-07 20:13    [W:0.037 / U:3.996 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site