1. 25 10月, 2016 1 次提交
    • A
      ASoC: PXA: Brownstone needs I2C · 5229f1f4
      Arnd Bergmann 提交于
      I rand into a new build error with SND_MMP_SOC_BROWNSTONE:
      
      warning: (SND_MMP_SOC_BROWNSTONE && SND_SOC_SAMSUNG_SMDK_WM8994 && SND_SOC_SMDK_WM8994_PCM && SND_SOC_LITTLEMILL) selects MFD_WM8994 which has unmet direct dependencies (HAS_IOMEM && I2C)
      drivers/mfd/wm8994-core.c:688:1: error: data definition has no type or storage class [-Werror]
      drivers/mfd/wm8994-core.c:688:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int]
      
      I don't see why this never showed up before, as the dependency seems to
      have been missing since the symbol was first introduced several years
      ago. This adds a dependency like the other drivers have.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      5229f1f4
  2. 07 5月, 2016 1 次提交
  3. 01 3月, 2016 5 次提交
  4. 26 2月, 2016 1 次提交
  5. 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
  6. 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
  7. 01 10月, 2015 1 次提交
  8. 23 9月, 2015 1 次提交
  9. 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
  10. 15 9月, 2015 2 次提交
  11. 29 8月, 2015 3 次提交
  12. 08 5月, 2015 4 次提交
  13. 05 3月, 2015 4 次提交
  14. 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
  15. 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
  16. 10 1月, 2015 9 次提交
  17. 07 1月, 2015 2 次提交
  18. 22 12月, 2014 1 次提交