1. 06 3月, 2014 7 次提交
  2. 01 2月, 2014 1 次提交
    • S
      ALSA: hda/hdmi - allow PIN_OUT to be dynamically enabled · 75fae117
      Stephen Warren 提交于
      Commit 384a48d7 "ALSA: hda: HDMI: Support codecs with fewer cvts
      than pins" dynamically enabled each pin widget's PIN_OUT only when the
      pin was actively in use. This was required on certain NVIDIA CODECs for
      correct operation. Specifically, if multiple pin widgets each had their
      mux input select the same audio converter widget and each pin widget had
      PIN_OUT enabled, then only one of the pin widgets would actually receive
      the audio, and often not the one the user wanted!
      
      However, this apparently broke some Intel systems, and commit
      6169b673 "ALSA: hda - Always turn on pins for HDMI/DP" reverted the
      dynamic setting of PIN_OUT. This in turn broke the afore-mentioned NVIDIA
      CODECs.
      
      This change supports either dynamic or static handling of PIN_OUT,
      selected by a flag set up during CODEC initialization. This flag is
      enabled for all recent NVIDIA GPUs.
      Reported-by: NUosis <uosisl@gmail.com>
      Cc: <stable@vger.kernel.org> # v3.13
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      75fae117
  3. 30 1月, 2014 20 次提交
  4. 29 1月, 2014 1 次提交
  5. 28 1月, 2014 2 次提交
  6. 25 1月, 2014 1 次提交
  7. 24 1月, 2014 3 次提交
  8. 23 1月, 2014 5 次提交
    • S
      ASoC: samsung: Fix Kconfig dependency · 4a9eee01
      Sachin Kamat 提交于
      Select S3C24XX_DMA instead of S3C2410_DMA to avoid following dependency issues
      and build errors:
      
      warning: (CPU_S3C2410 && CPU_S3C2442 && SND_SOC_SAMSUNG && SND_S3C24XX_I2S && SND_S3C2412_SOC_I2S && SND_SOC_SAMSUNG_SMDK2443_WM9710 && SND_SOC_SAMSUNG_LN2440SBC_ALC650) selects S3C2410_DMA which has unmet direct dependencies (ARCH_S3C24XX && S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442))
      warning: (CPU_S3C2410 && CPU_S3C2442 && SND_SOC_SAMSUNG && SND_S3C24XX_I2S && SND_S3C2412_SOC_I2S && SND_SOC_SAMSUNG_SMDK2443_WM9710 && SND_SOC_SAMSUNG_LN2440SBC_ALC650) selects S3C2410_DMA which has unmet direct dependencies (ARCH_S3C24XX && S3C24XX_DMA && (CPU_S3C2410 || CPU_S3C2442))
      
      arch/arm/mach-s3c24xx/built-in.o: In function `s3c2410_dma_add':
      arch/arm/mach-s3c24xx/dma-s3c2410.c:134: undefined reference to `s3c2410_dma_init'
      arch/arm/mach-s3c24xx/dma-s3c2410.c:135: undefined reference to `s3c24xx_dma_order_set'
      arch/arm/mach-s3c24xx/dma-s3c2410.c:136: undefined reference to `s3c24xx_dma_init_map'
      arch/arm/plat-samsung/include/plat/dma-ops.h:60: undefined reference to `s3c_dma_get_ops'
      sound/soc/samsung/s3c24xx-i2s.c:293: undefined reference to `s3c2410_dma_ctrl'
      arch/arm/plat-samsung/include/plat/dma-ops.h:60: undefined reference to `s3c_dma_get_ops'
      arch/arm/plat-samsung/include/plat/dma-ops.h:60: undefined reference to `s3c_dma_get_ops'
      sound/built-in.o: In function `s3c2412_i2s_trigger':
      sound/soc/samsung/s3c-i2s-v2.c:432: undefined reference to `s3c2410_dma_ctrl'
      Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      4a9eee01
    • S
      ASoC: wm5100: Export wm5100_detect · 0cf0f174
      Sachin Kamat 提交于
      Export the symbol so that it is accessible to modules. Fixes the
      following error:
      
      ERROR: "wm5100_detect" [sound/soc/samsung/snd-soc-lowland.ko] undefined!
      Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
      Acked-by: NCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      0cf0f174
    • T
      ALSA: Refactor slot assignment code · deb6596f
      Takashi Iwai 提交于
      There are two loops that are almost identical but only with different
      checks.  Refactor them with a simple helper, and give a bit more
      comments what's doing there.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      deb6596f
    • D
      ALSA: bits vs bytes bug in snd_card_create() · 4c3773ed
      Dan Carpenter 提交于
      The test here is intended intended to prevent shift wrapping bugs when
      we do "1U << idx2".  We should consider the number of bits in a u32
      instead of the number of bytes.
      
      [fix another chunk similarly by tiwai]
      
      Fixes: 7bb2491b ('ALSA: Add kconfig to specify the max card numbers')
      Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      4c3773ed
    • S
      ASoC: samsung: smdk_wm8994: Fix build error · f83183ca
      Sachin Kamat 提交于
      Fixes the following build error and warning when OF is not defined:
      sound/soc/samsung/smdk_wm8994.c:191:23: error: ‘samsung_wm8994_of_match’ undeclared (first use in this function)
      sound/soc/samsung/smdk_wm8994.c:47:32: warning: ‘smdk_board_data’ defined but not used [-Wunused-variable]
      
      of_match_ptr() is used so that samsung_wm8994_of_match gets dropped (as unused)
      by the compiler when OF is not defined.
      Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      f83183ca