1. 06 6月, 2015 9 次提交
  2. 04 6月, 2015 1 次提交
  3. 03 6月, 2015 2 次提交
    • J
      ASoC: core: If component doesn't have of_node use parent's node instead · 3e0aa8d8
      Jyri Sarha 提交于
      If an ASoC component device does not have a device tree node, use its
      parent's node instead, when looking for a matching DAI based on a
      device tree reference.
      
      This allows video device drivers to register a separate child device
      for their ASoC side audio functionality.  [And MFDs in general --
      broonie]
      Signed-off-by: NJyri Sarha <jsarha@ti.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      3e0aa8d8
    • V
      ASoC: dapm: fix snd_soc_dapm_new_control() implicit declaration · 5353f65b
      Vladimir Zapolskiy 提交于
      The change fixes the following compilation problem:
      
        sound/soc/soc-dapm.c: In function 'dapm_kcontrol_data_alloc':
        sound/soc/soc-dapm.c:388:4: error: implicit declaration of function
          'snd_soc_dapm_new_control' [-Werror=implicit-function-declaration]
          data->widget = snd_soc_dapm_new_control(widget->dapm,
          ^
      
        sound/soc/soc-dapm.c:387:17: warning: assignment makes pointer
          from integer without a cast [enabled by default]
          data->widget = snd_soc_dapm_new_control(widget->dapm,
                       ^
        sound/soc/soc-dapm.c: At top level:
        sound/soc/soc-dapm.c:3269:1: error: conflicting types for
          'snd_soc_dapm_new_control'
        snd_soc_dapm_new_control(struct snd_soc_dapm_context *dapm,
        ^
      
      In addition to the fix add static qualifier to
      snd_soc_dapm_new_control() function to silence checkpatch.
      
      Fixes: 02aa78ab ("ASoC: DAPM: Add APIs to create individual DAPM controls.")
      Signed-off-by: NVladimir Zapolskiy <vz@mleia.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      5353f65b
  4. 02 6月, 2015 1 次提交
  5. 01 6月, 2015 27 次提交