1. 17 12月, 2013 1 次提交
  2. 06 8月, 2013 1 次提交
  3. 01 8月, 2013 2 次提交
  4. 17 7月, 2013 1 次提交
    • S
      ASoC: sgtl5000: defer the probe if clock is not found · 46a5905e
      Shawn Guo 提交于
      It's not always the case that clock is already available when sgtl5000
      get probed at the first time, e.g. the clock is provided by CPU DAI
      which may be probed after sgtl5000.  So let's defer the probe when
      devm_clk_get() call fails and give it chance to try later.
      
      It fixes the regression on imx28 since commit 9e13f345 (ASoC: sgtl5000:
      Let the codec acquire its clock).
      
      [    1.927637] sgtl5000 0-000a: Failed to get mclock: -2
      [    1.934280] sgtl5000: probe of 0-000a failed with error -2
      [    1.945906] mxs-sgtl5000 sound.13: ASoC: CODEC (null) not registered
      [    1.953787] mxs-sgtl5000 sound.13: snd_soc_register_card failed (-517)
      [    1.960865] platform sound.13: Driver mxs-sgtl5000 requests probe deferral
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      46a5905e
  5. 15 7月, 2013 1 次提交
  6. 05 7月, 2013 1 次提交
  7. 12 6月, 2013 1 次提交
  8. 10 6月, 2013 1 次提交
    • F
      ASoC: sgtl5000: Let the codec acquire its clock · 9e13f345
      Fabio Estevam 提交于
      On a mx6qsabrelite board the following error happens on probe:
      
      sgtl5000: probe of 0-000a failed with error -5
      imx-sgtl5000 sound.13: ASoC: CODEC (null) not registered
      imx-sgtl5000 sound.13: snd_soc_register_card failed (-517)
      platform sound.13: Driver imx-sgtl5000 requests probe defer
      
      Prior to reading the codec ID we need to turn the SYS_MCLK clock, so let's
      enable the codec clock inside sgtl5000_i2c_probe().
      
      Also remove the codec clock enable/disable functions from the machine driver.
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      9e13f345
  9. 06 6月, 2013 1 次提交
  10. 05 6月, 2013 1 次提交
    • M
      ASoC: sgtl5000: Fix VAG_POWER enabling/disabling order · dd4d2d6d
      Marek Vasut 提交于
      The VAG_POWER must be enabled after all other bits in CHIP_ANA_POWER
      and disabled before any other bit in CHIP_ANA_POWER. See the SGTL5000
      datasheet (Table 31, BIT 7, page 42-43). Failing to follow this order
      will result in ugly loud "POP" noise at the end of playback.
      
      To achieve such order, use the _PRE and _POST DAPM widgets to trigger
      the power_vag_event, where the event type check has to be fixed
      accordingly as well.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      dd4d2d6d
  11. 13 5月, 2013 3 次提交
  12. 24 12月, 2012 1 次提交
  13. 09 12月, 2012 1 次提交
  14. 31 7月, 2012 1 次提交
  15. 25 7月, 2012 1 次提交
    • D
      ASoC: sgtl5000: remove unneeded snd_soc_dapm_new_widgets in probe · a07e8d49
      Dong Aisheng 提交于
      There's a driver bug that sgtl5000 dapm widget kcontrols do not work.
      e.g. can not select capture mux with amixer tool(no error info prompted).
      
      The root cause is that we still call snd_soc_dapm_new_widgets in
      codec driver probe function afer converting to table based widgets.
      This will cause the card dapm widgets are instantiated before the
      dapm_routes are registered.
      Then, no available dapm widget pathes can be found during instantiation
      which finally will cause soc_dapm_mux_update_power to fail(can not find
      correct path with kcontrol) in snd_soc_dapm_put_enum_double function.
      
      Here we remove the unneeded snd_soc_dapm_new_widgets in codec probe
      and let the soc core to handle the register sequence properly.
      Then we can fix above issue.
      Signed-off-by: NDong Aisheng <dong.aisheng@linaro.org>
      Acked-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      a07e8d49
  16. 09 4月, 2012 1 次提交
    • M
      regulator: core: Use a struct to pass in regulator runtime configuration · c172708d
      Mark Brown 提交于
      Rather than adding new arguments to regulator_register() every time we
      want to add a new bit of dynamic information at runtime change the function
      to take these via a struct. By doing this we avoid needing to do further
      changes like the recent addition of device tree support which required each
      regulator driver to be updated to take an additional parameter.
      
      The regulator_desc which should (mostly) be static data is still passed
      separately as most drivers are able to configure this statically at build
      time.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      c172708d
  17. 04 4月, 2012 3 次提交
  18. 03 4月, 2012 1 次提交
  19. 01 4月, 2012 1 次提交
  20. 23 1月, 2012 2 次提交
  21. 20 1月, 2012 2 次提交
  22. 16 1月, 2012 1 次提交
  23. 29 12月, 2011 2 次提交
  24. 02 12月, 2011 1 次提交
  25. 27 11月, 2011 1 次提交
  26. 24 11月, 2011 1 次提交
  27. 23 11月, 2011 1 次提交
    • L
      ASoC: Constify snd_soc_dai_ops structs · 85e7652d
      Lars-Peter Clausen 提交于
      Commit 1ee46ebd("ASoC: Make the DAI ops constant in the DAI structure")
      introduced the possibility to have constant DAI ops structures, yet this is
      barley used in both existing drivers and also new drivers being submitted,
      although none of them modifies its DAI ops structure. The later is not
      surprising since existing drivers are often used as templates for new drivers.
      So this patch just constifies all existing snd_soc_dai_ops structs to eliminate
      the issue altogether.
      
      The patch was generated with the following coccinelle semantic patch:
      // <smpl>
      @@
      identifier ops;
      @@
      -struct snd_soc_dai_ops ops =
      +const struct snd_soc_dai_ops ops =
      { ... };
      // </smpl>
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      85e7652d
  28. 20 11月, 2011 1 次提交
  29. 22 10月, 2011 1 次提交
  30. 21 10月, 2011 2 次提交
  31. 19 10月, 2011 1 次提交