1. 16 Feb, 2011 1 commit
  2. 13 Feb, 2011 11 commits
  3. 11 Feb, 2011 7 commits
  4. 10 Feb, 2011 1 commit
  5. 09 Feb, 2011 17 commits
  6. 08 Feb, 2011 2 commits
  7. 07 Feb, 2011 1 commit
    • Lars-Peter Clausen's avatar
      ASoC: codecs: wm8753: Fix DAI mode switching · 338ee253
      Lars-Peter Clausen authored
      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: default avatarLars-Peter Clausen <lars@metafoo.de>
      Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      338ee253