1. 16 4月, 2016 2 次提交
  2. 03 4月, 2016 2 次提交
  3. 28 3月, 2016 1 次提交
    • B
      ASoC: nau8825: Fix jack detection across suspend · e6cee900
      Ben Zhang 提交于
      Jack plug status is rechecked at resume to handle plug/unplug
      in S3 when the chip has no power.
      
      Suspend/resume callbacks are moved from the i2c dev_pm_ops to
      snd_soc_codec_driver. soc_resume_deferred is a delayed work
      which may trigger nau8825_set_bias_level. The bias change races
      against dev_pm_ops, causing jack detection issues.
      soc_resume_deferred ensures bias change and snd_soc_codec_driver
      suspend/resume are sequenced correctly.
      Signed-off-by: NBen Zhang <benzh@chromium.org>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      e6cee900
  4. 16 3月, 2016 1 次提交
    • A
      ASoC: rt5616: add I2C dependency · af139d55
      Arnd Bergmann 提交于
      The rt5616 codec registers itself as an i2c driver, but can
      be enabled even when i2c is turned off, which leads to a build
      error:
      
      codecs/rt5616.c:1419:1: error: data definition has no type or storage class [-Werror]
       module_i2c_driver(rt5616_i2c_driver);
      
      This adds an explicit Kconfig dependency, like the other codec
      drivers.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: 288bc356 ("ASoC: rt5616: allow to build with CONFIG_SND_SOC_RT5616")
      Signed-off-by: NMark Brown <broonie@kernel.org>
      af139d55
  5. 15 3月, 2016 1 次提交
    • A
      ASoC: cs35l32: avoid uninitialized variable access · dd5dc001
      Arnd Bergmann 提交于
      gcc warns about the possibilty of accessing a property read from
      devicetree in cs35l32_i2c_probe() when it has not been initialized
      because CONFIG_OF is disabled:
      
      sound/soc/codecs/cs35l32.c: In function 'cs35l32_i2c_probe':
      sound/soc/codecs/cs35l32.c:278:2: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized]
      
      The code is actually correct because it checks the dev->of_node
      variable first and we know this is NULL here when CONFIG_OF
      is disabled, but Russell King noticed that it's broken when
      we probe the device using DT, and the properties are absent.
      
      The code already has some checking for incorrect values, and
      I keep that checking unchanged here, but add an additional
      check for an error returned by the property accessor functions
      that now gets handled the same way as incorrect data in the
      properties.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NBrian Austin <brian.austin@cirrus.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      dd5dc001
  6. 12 3月, 2016 2 次提交
  7. 11 3月, 2016 1 次提交
  8. 10 3月, 2016 1 次提交
  9. 08 3月, 2016 1 次提交
  10. 07 3月, 2016 3 次提交
  11. 05 3月, 2016 3 次提交
  12. 01 3月, 2016 16 次提交
  13. 26 2月, 2016 4 次提交
  14. 24 2月, 2016 2 次提交