1. 27 10月, 2016 1 次提交
  2. 29 9月, 2016 3 次提交
  3. 28 9月, 2016 9 次提交
  4. 27 9月, 2016 8 次提交
  5. 26 9月, 2016 1 次提交
  6. 25 9月, 2016 9 次提交
  7. 22 9月, 2016 1 次提交
    • A
      ASoC: cq93vc: duplicated callback function goes to component · 8180bd56
      Arnd Bergmann 提交于
      A cleanup removed a couple of members from struct snd_soc_codec_driver
      after changing codec drivers to no longer use them, but one codec
      was missed in the process, giving a build error:
      
      sound/soc/codecs/cq93vc.c:134:2: error: unknown field 'controls' specified in initializer
        .controls = cq93vc_snd_controls,
      
      This moves the members from the cq93vc codec driver to its component driver
      just like the other codecs already had.
      
      Fixes: 8073aefa ("ASoC: remove codec duplicated callback function")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      8180bd56
  8. 20 9月, 2016 2 次提交
  9. 16 9月, 2016 1 次提交
    • A
      ASoC: rt5663: refine error handling · 56efaed5
      Arnd Bergmann 提交于
      The newly added rt5663 codec driver introduces a couple of warnings
      when built with -Wmaybe-uninitialized:
      
      codecs/rt5663.c: In function 'rt5663_set_tdm_slot':
      codecs/rt5663.c:2680:2: error: 'reg' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      codecs/rt5663.c: In function 'rt5663_set_dai_pll':
      codecs/rt5663.c:2556:12: error: 'shift' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      codecs/rt5663.c:2596:2: error: 'mask' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      
      We can avoid those warnings by always returning an error
      from the switch() statements instead of falling through
      with an uninitialized variable when we hit an unexpected
      case.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: df7c5216 ("ASoC: add rt5663 codec driver")
      Signed-off-by: NMark Brown <broonie@kernel.org>
      56efaed5
  10. 15 9月, 2016 3 次提交
  11. 14 9月, 2016 2 次提交
    • B
      ASoC: tlv320dac33: Remove deprecated create_singlethread_workqueue · 88910982
      Bhaktipriya Shridhar 提交于
      The workqueue "dac33_wq" queues a single work item &dac33->work and
      hence doesn't require ordering. Also, it is not being used on a memory
      reclaim path. Hence, it has been converted to use system_wq.
      
      System workqueues have been able to handle high level of concurrency
      for a long time now and hence it's not required to have a singlethreaded
      workqueue just to gain concurrency. Unlike a dedicated per-cpu workqueue
      created with create_singlethread_workqueue(), system_wq allows multiple
      work items to overlap executions even on the same CPU; however, a
      per-cpu workqueue doesn't have any CPU locality or global ordering
      guarantee unless the target CPU is explicitly specified and thus the
      increase of local concurrency shouldn't make any difference.
      
      The work item has been flushed in dac33_soc_remove to ensure that
      there are no pending tasks while disconnecting the driver.
      Signed-off-by: NBhaktipriya Shridhar <bhaktipriya96@gmail.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      88910982
    • A
      ASoC: da7219: Support HP detect procedure when MCLK not present · 6a0b87c6
      Adam Thomson 提交于
      Currently the driver code assumes that MCLK will be present during
      the procedure, or if it has control of MCLK then it can make sure
      it's enabled. Some platforms however do not provide MCLK to the
      driver in this way, and will not leave MCLK enabled when Codec is
      in STANDBY state.
      
      This patch adds support for the HP detect procedure when running
      from the device's internal oscillator, to ensure all platforms
      can make use of this feature correctly.
      Signed-off-by: NAdam Thomson <Adam.Thomson.Opensource@diasemi.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      6a0b87c6