1. 28 Jun, 2019 40 commits
    • Kuninori Morimoto's avatar
      ASoC: ti: omap-hdmi: consider CPU-Platform possibility · c5e8c536
      Kuninori Morimoto authored
      commit edba13ae ("ASoC: ti: omap-hdmi: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit edba13ae ("ASoC: ti: omap-hdmi: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      c5e8c536
    • Kuninori Morimoto's avatar
      ASoC: ti: omap-abe-twl6040: consider CPU-Platform possibility · b407a17a
      Kuninori Morimoto authored
      commit 1306ab2e ("ASoC: ti: omap-abe-twl6040: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit 1306ab2e ("ASoC: ti: omap-abe-twl6040: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      b407a17a
    • Kuninori Morimoto's avatar
      ASoC: ti: davinci-evm: consider CPU-Platform possibility · 44e57815
      Kuninori Morimoto authored
      commit f46da1b9 ("ASoC: ti: davinci-evm: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit f46da1b9 ("ASoC: ti: davinci-evm: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      44e57815
    • Kuninori Morimoto's avatar
      ASoC: tegra: trimslice: consider CPU-Platform possibility · db1572d4
      Kuninori Morimoto authored
      commit 567b374d ("ASoC: tegra: trimslice: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit 567b374d ("ASoC: tegra: trimslice: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      db1572d4
    • Kuninori Morimoto's avatar
      ASoC: tegra: tegra_wm9712: consider CPU-Platform possibility · e0aad4b7
      Kuninori Morimoto authored
      commit 5d626772 ("ASoC: tegra: tegra_wm9712: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit 5d626772 ("ASoC: tegra: tegra_wm9712: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      e0aad4b7
    • Kuninori Morimoto's avatar
      ASoC: tegra: tegra_wm8903: consider CPU-Platform possibility · e8efc3ff
      Kuninori Morimoto authored
      commit b28d9852 ("ASoC: tegra: tegra_wm8903: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit b28d9852 ("ASoC: tegra: tegra_wm8903: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      e8efc3ff
    • Kuninori Morimoto's avatar
      ASoC: tegra: tegra_wm8753: consider CPU-Platform possibility · 9e4e02ea
      Kuninori Morimoto authored
      commit 404b229b ("ASoC: tegra: tegra_wm8753: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit 404b229b ("ASoC: tegra: tegra_wm8753: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      9e4e02ea
    • Kuninori Morimoto's avatar
      ASoC: tegra: tegra_sgtl5000: consider CPU-Platform possibility · be2428f3
      Kuninori Morimoto authored
      commit cee1cf3f ("ASoC: tegra: tegra_sgtl5000: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit cee1cf3f ("ASoC: tegra: tegra_sgtl5000: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      be2428f3
    • Kuninori Morimoto's avatar
      ASoC: tegra: tegra_rt5677: consider CPU-Platform possibility · 1dd2e91b
      Kuninori Morimoto authored
      commit d035d13b ("ASoC: tegra: tegra_rt5677: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit d035d13b ("ASoC: tegra: tegra_rt5677: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      1dd2e91b
    • Kuninori Morimoto's avatar
      ASoC: tegra: tegra_rt5640: consider CPU-Platform possibility · ff9194ba
      Kuninori Morimoto authored
      commit 1d641e15 ("ASoC: tegra: tegra_rt5640: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit 1d641e15 ("ASoC: tegra: tegra_rt5640: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      ff9194ba
    • Kuninori Morimoto's avatar
      ASoC: tegra: tegra_max98090: consider CPU-Platform possibility · abe4918b
      Kuninori Morimoto authored
      commit 4bfd0854 ("ASoC: tegra: tegra_max98090: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit 4bfd0854 ("ASoC: tegra: tegra_max98090: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      abe4918b
    • Kuninori Morimoto's avatar
      ASoC: tegra: tegra_alc5632: consider CPU-Platform possibility · bae05f2c
      Kuninori Morimoto authored
      commit e7fc99e6 ("ASoC: tegra: tegra_alc5632: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit e7fc99e6 ("ASoC: tegra: tegra_alc5632: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      bae05f2c
    • Kuninori Morimoto's avatar
      ASoC: sunxi: sun4i-codec: consider CPU-Platform possibility · d3569a47
      Kuninori Morimoto authored
      commit 3f780533 ("ASoC: sunxi: sun4i-codec: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit 3f780533 ("ASoC: sunxi: sun4i-codec: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      d3569a47
    • Kuninori Morimoto's avatar
      ASoC: sirf: sirf-audio: consider CPU-Platform possibility · e22c32e1
      Kuninori Morimoto authored
      commit e562a5f1 ("ASoC: sirf: sirf-audio: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit e562a5f1 ("ASoC: sirf: sirf-audio: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      e22c32e1
    • Kuninori Morimoto's avatar
      ASoC: samsung: tm2_wm5110: consider CPU-Platform possibility · 74a25f36
      Kuninori Morimoto authored
      commit ae7cbcc4 ("ASoC: samsung: tm2_wm5110: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit ae7cbcc4 ("ASoC: samsung: tm2_wm5110: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      74a25f36
    • Kuninori Morimoto's avatar
      ASoC: samsung: snow: consider CPU-Platform possibility · 3dfc3e9c
      Kuninori Morimoto authored
      commit a555b6a9 ("ASoC: samsung: snow: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit a555b6a9 ("ASoC: samsung: snow: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      3dfc3e9c
    • Kuninori Morimoto's avatar
      ASoC: samsung: smdk_wm8994: consider CPU-Platform possibility · 806bfc27
      Kuninori Morimoto authored
      commit d815e0f0 ("ASoC: samsung: smdk_wm8994: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit d815e0f0 ("ASoC: samsung: smdk_wm8994: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      806bfc27
    • Kuninori Morimoto's avatar
      ASoC: samsung: arndale_rt5631: consider CPU-Platform possibility · a0e95c4d
      Kuninori Morimoto authored
      commit 33949eb5 ("ASoC: samsung: arndale_rt5631: don't select
      unnecessary Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit 33949eb5 ("ASoC: samsung: arndale_rt5631: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      a0e95c4d
    • Kuninori Morimoto's avatar
      ASoC: rockchip: rockchip_rt5645: consider CPU-Platform possibility · f94d7b6e
      Kuninori Morimoto authored
      commit 27a37973 ("ASoC: rockchip: rockchip_rt5645: don't select
      unnecessary Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit 27a37973 ("ASoC: rockchip: rockchip_rt5645: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      f94d7b6e
    • Kuninori Morimoto's avatar
      ASoC: rockchip: rockchip_max98090: consider CPU-Platform possibility · 5554af40
      Kuninori Morimoto authored
      commit 7df405ae ("ASoC: rockchip: rockchip_max98090: don't select
      unnecessary Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit 7df405ae ("ASoC: rockchip: rockchip_max98090: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      5554af40
    • Kuninori Morimoto's avatar
      ASoC: rockchip: rk3288_hdmi_analog: consider CPU-Platform possibility · 418e12fc
      Kuninori Morimoto authored
      commit 9c21e82c ("ASoC: rockchip: rk3288_hdmi_analog: don't select
      unnecessary Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit 9c21e82c ("ASoC: rockchip: rk3288_hdmi_analog: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      418e12fc
    • Kuninori Morimoto's avatar
      ASoC: qcom: storm: consider CPU-Platform possibility · 9522e947
      Kuninori Morimoto authored
      commit 3caf11fa ("ASoC: qcom: storm: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit 3caf11fa ("ASoC: qcom: storm: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      9522e947
    • Kuninori Morimoto's avatar
      ASoC: qcom: apq8016_sbc: consider CPU-Platform possibility · 291728a5
      Kuninori Morimoto authored
      commit 56468438 ("ASoC: qcom: apq8016_sbc: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit 56468438 ("ASoC: qcom: apq8016_sbc: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      291728a5
    • Kuninori Morimoto's avatar
      ASoC: mxs: mxs-sgtl5000: consider CPU-Platform possibility · 802e8ed9
      Kuninori Morimoto authored
      commit 5f92229d ("ASoC: mxs: mxs-sgtl5000: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit 5f92229d ("ASoC: mxs: mxs-sgtl5000: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      802e8ed9
    • Kuninori Morimoto's avatar
      ASoC: kirkwood: armada-370-db: consider CPU-Platform possibility · bb6630d1
      Kuninori Morimoto authored
      commit 717f1633 ("ASoC: kirkwood: armada-370-db: don't select
      unnecessary Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit 717f1633 ("ASoC: kirkwood: armada-370-db: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      bb6630d1
    • Kuninori Morimoto's avatar
      ASoC: fsl: imx-audmix: consider CPU-Platform possibility · 9213866a
      Kuninori Morimoto authored
      commit d8893261 ("ASoC: fsl: imx-audmix: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit d8893261 ("ASoC: fsl: imx-audmix: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      9213866a
    • Kuninori Morimoto's avatar
      ASoC: fsl: imx-spdif: consider CPU-Platform possibility · 9e8f5299
      Kuninori Morimoto authored
      commit 014f07ca ("ASoC: fsl: imx-spdif: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit 014f07ca ("ASoC: fsl: imx-spdif: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      9e8f5299
    • Kuninori Morimoto's avatar
      ASoC: fsl: imx-sgtl5000: consider CPU-Platform possibility · 2b1407c9
      Kuninori Morimoto authored
      commit 82bf78ca ("ASoC: fsl: imx-sgtl5000: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit 82bf78ca ("ASoC: fsl: imx-sgtl5000: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      2b1407c9
    • Kuninori Morimoto's avatar
      ASoC: fsl: imx-es8328: consider CPU-Platform possibility · 8bebc822
      Kuninori Morimoto authored
      commit 577cf50d ("ASoC: fsl: imx-es8328: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit 577cf50d ("ASoC: fsl: imx-es8328: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      8bebc822
    • Kuninori Morimoto's avatar
      ASoC: fsl: fsl-asoc-card: consider CPU-Platform possibility · 9998d3e2
      Kuninori Morimoto authored
      commit e57a4c2f ("ASoC: fsl: fsl-asoc-card: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit e57a4c2f ("ASoC: fsl: fsl-asoc-card: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      9998d3e2
    • Kuninori Morimoto's avatar
      ASoC: fsl: eukrea-tlv320: consider CPU-Platform possibility · 68707c37
      Kuninori Morimoto authored
      commit 2058ea1c ("ASoC: fsl: eukrea-tlv320: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit 2058ea1c ("ASoC: fsl: eukrea-tlv320: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      68707c37
    • Kuninori Morimoto's avatar
      ASoC: atmel: tse850-pcm5142: consider CPU-Platform possibility · 6910bb93
      Kuninori Morimoto authored
      commit 655368df ("ASoC: atmel: tse850-pcm5142: don't select
      unnecessary Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit 655368df ("ASoC: atmel: tse850-pcm5142: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      6910bb93
    • Kuninori Morimoto's avatar
      ASoC: atmel: sam9x5_wm8731: consider CPU-Platform possibility · e1be6aa0
      Kuninori Morimoto authored
      commit ced5b080 ("ASoC: atmel: sam9x5_wm8731: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit ced5b080 ("ASoC: atmel: sam9x5_wm8731: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      e1be6aa0
    • Kuninori Morimoto's avatar
      ASoC: atmel: sam9g20_wm8731: consider CPU-Platform possibility · 0efd1d7c
      Kuninori Morimoto authored
      commit bfc7938e ("ASoC: atmel: sam9g20_wm8731: don't select
      unnecessary Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit bfc7938e ("ASoC: atmel: sam9g20_wm8731: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      0efd1d7c
    • Kuninori Morimoto's avatar
      ASoC: amtel: mikroe-proto: consider CPU-Platform possibility · 716407ea
      Kuninori Morimoto authored
      commit 318ebbe8 ("ASoC: atmel: mikroe-proto: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit 318ebbe8 ("ASoC: atmel: mikroe-proto: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      716407ea
    • Kuninori Morimoto's avatar
      ASoC: atmel: atmel_wm8904: consider CPU-Platform possibility unnecessary Platform" · 16589b77
      Kuninori Morimoto authored
      commit 3609750e ("ASoC: atmel: atmel_wm8904: don't select
      unnecessary Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit 3609750e ("ASoC: atmel: atmel_wm8904: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      16589b77
    • Kuninori Morimoto's avatar
      ASoC: atmel: atmel-pdmic: consider CPU-Platform possibility · ea2d1868
      Kuninori Morimoto authored
      commit 7baf32e1 ("ASoC: atmel: atmel-pdmic: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit 7baf32e1 ("ASoC: atmel: atmel-pdmic: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      ea2d1868
    • Kuninori Morimoto's avatar
      ASoC: atmel: atmel-classd: consider CPU-Platform possibility · ca1c67d1
      Kuninori Morimoto authored
      commit 02602401 ("ASoC: atmel: atmel-classd: don't select
      unnecessary Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit 02602401 ("ASoC: atmel: atmel-classd: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      ca1c67d1
    • Kuninori Morimoto's avatar
      ASoC: vc4: vc4_htmi: consider CPU-Platform possibility · 8a90efd1
      Kuninori Morimoto authored
      commit 6c6de1c9 ("ASoC: vc4: vc4_hdmi: don't select unnecessary
      Platform")
      
      Current ALSA SoC avoid to add duplicate component to rtd,
      and this driver was selecting CPU component as Platform component.
      Thus, above patch removed Platform settings from this driver,
      because it assumed these are same component.
      
      But, some CPU driver is using generic DMAEngine, in such case, both
      CPU component and Platform component will have same of_node/name.
      In other words, there are some components which are different but
      have same of_node/name.
      
      In such case, Card driver definitely need to select Platform even
      though it is same as CPU.
      It is depends on CPU driver, but is difficult to know it from Card driver.
      This patch reverts above patch.
      
      Fixes: commit 6c6de1c9 ("ASoC: vc4: vc4_hdmi: don't select unnecessary Platform")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      8a90efd1
    • Colin Ian King's avatar
      ASoC: topology: fix memory leaks on sm, se and sbe · 1ad741d0
      Colin Ian King authored
      Currently when a kstrdup fails the error exit paths don't free
      the allocations for sm, se and sbe.  This can be fixed by assigning
      kc[i].private_value to these before doing the ksrtdup so that the error
      exit path will be able to free these objects.
      
      Addresses-Coverity: ("Resource leak")
      Fixes: 9f90af3a ("ASoC: topology: Consolidate and fix asoc_tplg_dapm_widget_*_create flow")
      Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      1ad741d0