1. 05 Apr, 2019 2 commits
    • Jerome Brunet's avatar
      ASoC: meson: add g12a compatibles · 679f4e6c
      Jerome Brunet authored
      Add new compatible strings for the g12a devices.
      Audio wise, the g12a is fairly to close to the axg, yet some differences
      need to be handled.
      Signed-off-by: default avatarJerome Brunet <jbrunet@baylibre.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      679f4e6c
    • Ranjani Sridharan's avatar
      ASoC: core: remove link components before cleaning up card resources · f96fb7d1
      Ranjani Sridharan authored
      When the card is registered by the machine driver,
      dai link components are probed after the snd_card is
      created. This is done in snd_soc_bind_card() which calls
      snd_soc_instantiate_card() to first create the snd_card
      and then probes the link components by calling
      soc_probe_link_components(). The snd_card is used by the
      component driver to add the kcontrols associated
      with dapm widgets to the card.
      
      When the machine driver is unregistered, the snd_card
      is freed when the card resources are cleaned up.
      But the snd_card needs to be valid while unloading the
      topology dapm widgets in order to remove the kcontrols
      from the card.
      
      Since, unloading topology is done when the component
      driver is removed, the link components should be removed
      in snd_soc_unbind_card(). This will ensure that the kcontrols
      are removed before the card resources are cleaned up and
      the snd_card itself is freed.
      Signed-off-by: default avatarRanjani Sridharan <ranjani.sridharan@linux.intel.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      f96fb7d1
  2. 04 Apr, 2019 31 commits
  3. 03 Apr, 2019 7 commits