1. 07 8月, 2019 6 次提交
  2. 05 8月, 2019 12 次提交
  3. 01 8月, 2019 2 次提交
  4. 25 7月, 2019 1 次提交
  5. 24 7月, 2019 7 次提交
  6. 04 7月, 2019 1 次提交
  7. 28 6月, 2019 2 次提交
  8. 26 6月, 2019 1 次提交
  9. 25 6月, 2019 6 次提交
  10. 19 6月, 2019 1 次提交
    • K
      ASoC: soc-core: allow no Platform on dai_link · 1d768989
      Kuninori Morimoto 提交于
      dai_link is used to selecting Component (= CPU/Codec/Platform) and
      DAI (= CPU/Codec). And selected CPU/Codec/Platform components are
      *listed* on Card.
      
      Many drivers don't need special Platform component, but was
      mandatory at legacy style ALSA SoC.
      Thus, there is this kind of settings on many drivers.
      
      	dai_link->platform_of_node = dai_link->cpu_of_node;
      
      In this case, soc_bind_dai_link() will pick-up "CPU component" as
      "Platform component", and try to add it to snd_soc_pcm_runtime.
      But it will be ignored, because it is already added when CPU bindings.
      
      Historically, this kind of "CPU component" is used/selected as
      "Platform" on many ALSA SoC drivers.
      OTOH, Dummy Platform will be selected automatically by ALSA SoC if
      driver doesn't have Platform settings.
      
      These indicates that there are 2 type of Platforms exist at current
      ALSA SoC if driver doesn't need special Platform.
      
      	1) use Dummy Platform as Platform component
      	2) use CPU component  as Platform component
      
      ALSA SoC will call Dummy Platform callback function if it is using
      Dummy Platform, but it is completely pointless. Because it is the
      sound card which doesn't need special Platform.
      
      Thus, the behavior we request to ALSA SoC is selecting 2) automatically
      instead of 1) if sound card doesn't need special Platform.
      And, 2) means "do nothing" as above explain.
      
      These were needed at legacy style dai_link, but is no longer needed
      at modern style dai_link anymore.
      
      This patch allows "no Platform" settings on dai_link, and will do
      nothing for it if there was no platform settings. This is same as 2).
      
      By this patch, all drivers which is selecting "CPU component" as
      "Platform" can remove such settings.
      Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      1d768989
  11. 10 6月, 2019 1 次提交