1. 28 2月, 2014 1 次提交
    • K
      ASoC: simple-card: cpu_dai_name creates confusion when DT case · f687d900
      Kuninori Morimoto 提交于
      Basically, soc_bind_dai_link() checks
      cpu_dai->dev->of_node and dai_link->cpu_of_node in DT case.
      But after that it will check
      cpu_dai->name and dai_link->cpu_dai_name too.
      
      On the other hand, snd_soc_dai :: name is created by
      fmt_single_name() or fmt_multiple_name().
      
      There is no confusion if dai name is created by fmt_multiple_name(),
      since cpu_dai->name is same as dai_link->cpu_dai_name.
      but, if dai name is created by fmt_single_name(), CPU DAI never match.
      
      Thus, simple-card not set dai_link->cpu_dai_name if DT case
      to skip naming match on soc_bind_dai_link()
      Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      f687d900
  2. 23 2月, 2014 2 次提交
    • X
      ASoC: simple-card: add slot information parsing supports · 6ff62eed
      Xiubo Li 提交于
      For some CPU/CODEC DAI devices the slot information maybe needed. This
      patch adds the slot information parsing for simple-card driver.
      Signed-off-by: NXiubo Li <Li.Xiubo@freescale.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      6ff62eed
    • X
      ASoC: core: add TDM slot parsing from DT supports · 89c67857
      Xiubo Li 提交于
      For some CPU/CODEC DAI devices the TDM slot infomation maybe needed. This
      patch adds the slot parsing from DT supports.
      
      TDM slot properties:
          dai-tdm-slot-num : Number of slots in use.
          dai-tdm-slot-width :  Width in bits for each slot.
      
      For instance:
          dai-tdm-slot-num = <2>;
          dai-tdm-slot-width = <8>;
      
      And for each spcified driver, there could be one .of_xlate_tdm_slot_mask()
      to specify a explicit mapping of the channels and the slots. If it's absent
      the default snd_soc_of_xlate_tdm_slot_mask() will be used to generating the
      tx and rx masks.
      
      For snd_soc_of_xlate_tdm_slot_mask(), the tx and rx masks will use a 1 bit
      for an active slot as default, and the default active bits are at the LSB of
      the masks.
      Signed-off-by: NXiubo Li <Li.Xiubo@freescale.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      89c67857
  3. 10 2月, 2014 2 次提交
  4. 03 2月, 2014 11 次提交
  5. 28 1月, 2014 2 次提交
  6. 24 1月, 2014 3 次提交
  7. 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
    • 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
    • S
      ASoC: Samsung: s3c-i2s-v2: Fix build error · 9eeb9572
      Sachin Kamat 提交于
      Fixes the following error introduced by commit eca3b01d
      ("ASoC: switch over to use snd_soc_register_component() on s3c i2s"):
      sound/soc/samsung/s3c-i2s-v2.c:732:32: error: ‘drv’ undeclared (first use in this function)
      Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
      Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      9eeb9572
    • S
      ASoC: samsung: Fix build regressions due to gpio re-org · abffae64
      Sachin Kamat 提交于
      Recent changes through commits c67d0f29 ("ARM: s3c24xx: get rid
      of custom <mach/gpio.h>"), b0161caa ("ARM: S3C[24|64]xx: move includes
      back under <mach/> scope"), 36437412 ("ARM: s3c24xx: explicit
      dependency on <plat/gpio-cfg.h>") and 41c3548e ("ARM: s3c64xx: get rid
      of custom <mach/gpio.h>") caused build regressions due to broken
      dependencies. Fix the following errors by including the necessary header
      files explicitly:
      
      sound/soc/samsung/h1940_uda1380.c:56:3: error: implicit declaration of function ‘S3C2410_GPG’
      sound/soc/samsung/h1940_uda1380.c:149:18: error: ‘S3C_GPIO_END’ undeclared (first use in this function)
      sound/soc/samsung/h1940_uda1380.c:234:21: error: ‘S3C_GPIO_END’ undeclared (first use in this function)
      sound/soc/samsung/h1940_uda1380.c:270:12: error: ‘S3C_GPIO_END’ undeclared (first use in this function)
      sound/soc/samsung/neo1973_wm8753.c:239:2: error: implicit declaration of function ‘S3C2410_GPJ’
      sound/soc/samsung/rx1950_uda1380.c:67:3: error: implicit declaration of function ‘S3C2410_GPG’
      sound/soc/samsung/s3c2412-i2s.c:86:2: error: implicit declaration of function ‘s3c_gpio_cfgall_range’
      sound/soc/samsung/s3c2412-i2s.c:86:2: error: implicit declaration of function ‘S3C2410_GPE’
      sound/soc/samsung/s3c2412-i2s.c:86:2: error: implicit declaration of function ‘S3C_GPIO_SFN’
      sound/soc/samsung/s3c2412-i2s.c:87:10: error: ‘S3C_GPIO_PULL_NONE’ undeclared
      sound/soc/samsung/s3c24xx-i2s.c:394:2: error: implicit declaration of function ‘s3c_gpio_cfgall_range’
      sound/soc/samsung/s3c24xx-i2s.c:394:2: error: implicit declaration of function ‘S3C2410_GPE’
      sound/soc/samsung/s3c24xx-i2s.c:394:2: error: implicit declaration of function ‘S3C_GPIO_SFN’
      sound/soc/samsung/s3c24xx-i2s.c:395:10: error: ‘S3C_GPIO_PULL_NONE’ undeclared
      sound/soc/samsung/smartq_wm8987.c:112:3: error: implicit declaration of function ‘S3C64XX_GPL’
      Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      abffae64
  8. 22 1月, 2014 3 次提交
  9. 21 1月, 2014 2 次提交
  10. 18 1月, 2014 3 次提交
  11. 16 1月, 2014 3 次提交
  12. 15 1月, 2014 3 次提交