1. 01 3月, 2016 1 次提交
  2. 21 11月, 2015 1 次提交
    • A
      ASoC: pxa: remove incorrect do_div() call · d1afdf34
      Arnd Bergmann 提交于
      The new optimized do_div implementation (now in asm-generic/next) exposes a
      glitch in the brownstone audio driver by producing a compile-time warning:
      
      sound/soc/pxa/brownstone.c: In function 'brownstone_wm8994_hw_params':
      sound/soc/pxa/brownstone.c:67:85: warning: comparison of distinct pointer types lacks a cast
      sound/soc/pxa/brownstone.c:67:10125: warning: right shift count >= width of type [-Wshift-count-overflow]
      sound/soc/pxa/brownstone.c:67:10254: warning: passing argument 1 of '__div64_32' from incompatible pointer type [-Wincompatible-pointer-types]
      
      The driver just divides two plain integer values, so it should not
      use do_div to start with, but has apparently done so ever since the
      code was first merged. This replaces do_div with a simple division
      operator.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      d1afdf34
  3. 19 11月, 2015 1 次提交
    • M
      ASoC: Vendor drivers get a link's runtime by snd_soc_get_pcm_runtime() · 5015920a
      Mengdong Lin 提交于
      Vendor drivers no longer access a DAI link's runtime by the link index
      but by matching the link name via snd_soc_get_pcm_runtime(). We assume
      each DAI link has a unique name.
      
      This is preparation for changing runtimes from an array to a list later.
      
      Vendor drivers changed:
      sound/soc/fsl/fsl-asoc-card.c
      sound/soc/fsl/imx-wm8962.c
      sound/soc/pxa/mioa701_wm9713.c
      sound/soc/samsung/bells.c
      sound/soc/samsung/littlemill.c
      sound/soc/samsung/odroidx2_max98090.c
      sound/soc/samsung/snow.c
      sound/soc/samsung/speyside.c
      sound/soc/samsung/tobermory.c
      sound/soc/tegra/tegra_wm8903
      Signed-off-by: NMengdong Lin <mengdong.lin@linux.intel.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      5015920a
  4. 01 10月, 2015 1 次提交
  5. 23 9月, 2015 1 次提交
  6. 17 9月, 2015 1 次提交
    • R
      ASoC: fix broken pxa SoC support · 3c8f7710
      Robert Jarzmik 提交于
      The previous fix of pxa library support, which was introduced to fix the
      library dependency, broke the previous SoC behavior, where a machine
      code binding pxa2xx-ac97 with a coded relied on :
       - sound/soc/pxa/pxa2xx-ac97.c
       - sound/soc/codecs/XXX.c
      
      For example, the mioa701_wm9713.c machine code is currently broken. The
      "select ARM" statement wrongly selects the soc/arm/pxa2xx-ac97 for
      compilation, as per an unfortunate fate SND_PXA2XX_AC97 is both declared
      in sound/arm/Kconfig and sound/soc/pxa/Kconfig.
      
      Fix this by ensuring that SND_PXA2XX_SOC correctly triggers the correct
      pxa2xx-ac97 compilation.
      
      Fixes: 846172df ("ASoC: fix SND_PXA2XX_LIB Kconfig warning")
      Signed-off-by: NRobert Jarzmik <robert.jarzmik@free.fr>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      3c8f7710
  7. 15 9月, 2015 2 次提交
  8. 29 8月, 2015 3 次提交
  9. 08 5月, 2015 4 次提交
  10. 05 3月, 2015 4 次提交
  11. 30 1月, 2015 1 次提交
    • A
      ASoC: pxa: make TTC DKB tristate · 7c47cd7f
      Arnd Bergmann 提交于
      In a rare combination of Kconfig settings, the 88pm860x-codec
      module may be selected as a loadable module, while it's also being
      used by the ttb-dkb code that is built-in, resulting in a link
      error:
      
      sound/built-in.o: In function `ttc_pm860x_init':
      :(.text+0x3e888): undefined reference to `pm860x_hs_jack_detect'
      :(.text+0x3e898): undefined reference to `pm860x_mic_jack_detect'
      
      Changing ttb-tkb to a tristate option tells Kconfig that 88pm86x
      actually needs to be built-in if ttc-dkb is also built-in.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      7c47cd7f
  12. 15 1月, 2015 1 次提交
    • L
      ASoC: mioa701_wm9713: Fix speaker event · 7331ea47
      Lars-Peter Clausen 提交于
      Commit f6b2a045 ("ASoC: pxa: mioa701_wm9713: Convert to table based DAPM
      setup") converted the driver to register the board level DAPM elements with
      the card's DAPM context rather than the CODEC's DAPM context. The change
      overlooked that the speaker widget event callback accesses the widget's
      codec field which is only valid if the widget has been registered in a CODEC
      DAPM context. This patch modifies the callback to take an alternative route
      to get the CODEC.
      
      Fixes: f6b2a045 ("ASoC: pxa: mioa701_wm9713: Convert to table based DAPM
      setup")
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      7331ea47
  13. 10 1月, 2015 9 次提交
  14. 07 1月, 2015 2 次提交
  15. 22 12月, 2014 1 次提交
  16. 18 11月, 2014 1 次提交
    • L
      ASoC: Rename snd_soc_dai_driver struct ac97_control field to bus_control · bc263214
      Lars-Peter Clausen 提交于
      Setting the ac97_control field on a CPU DAI tells the ASoC core that this
      DAI in addition to audio data also transports control data to the CODEC.
      This causes the core to suspend the DAI after the CODEC and resume it before
      the CODEC so communication to the CODEC is still possible. This is not
      necessarily something that is specific to AC'97 and can be used by other
      buses with the same requirement. This patch renames the flag from
      ac97_control to bus_control to make this explicit.
      
      While we are at it also change the type from int to bool.
      
      The following semantich patch was used for automatic conversion of the
      drivers:
      // <smpl>
      @@
      identifier drv;
      @@
      struct snd_soc_dai_driver drv = {
      -	.ac97_control
      +	.bus_control
      	=
      -	1
      +	true
      };
      // </smpl>
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      bc263214
  17. 17 11月, 2014 1 次提交
  18. 04 11月, 2014 1 次提交
  19. 28 10月, 2014 1 次提交
  20. 20 10月, 2014 1 次提交
  21. 11 9月, 2014 1 次提交
  22. 14 8月, 2014 1 次提交