1. 06 4月, 2017 1 次提交
    • K
      ASoC: soc-core: verify Sound Card normality · c12c1aad
      Kuninori Morimoto 提交于
      Current ALSA SoC Sound Card basically consists of CPU/Codec/Platform
      components. If system uses Kernel modules, we can disable these drivers
      by using rmmod command. In such case, we can't disable
      CPU/Codec/Platform driver without disabling Sound Card driver.
      
      But on the other hand, we can disable these drivers by using unbind
      command. In such case, we can disable these drivers randomly.
      In this case, we can create dirty Sound Card which is missing necessary
      components.
      
      (1) If user disabled Sound Card first, but did nothing to other drivers,
      user can't use Sound because Sound Card is no longer exists.
      (2) If user disabled CPU/Codec/Platform driver randomly, but did nothing
      to Sound Card, user still be able to use Sound Card, because dirty Sound
      Card still exists. In this case, Sound system will be crashed if user
      started sound playback/capture. But we can't block such random unbind
      now.
      
      To avoid Sound Card crash in (2) case, we need to unregister Sound Card
      whenever CPU/Codec/Platform component were unregistered.
      This patch solves this issue.
      Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      c12c1aad
  2. 12 12月, 2016 2 次提交
  3. 09 12月, 2016 2 次提交
  4. 07 12月, 2016 3 次提交
  5. 06 12月, 2016 5 次提交
  6. 05 12月, 2016 5 次提交
  7. 02 12月, 2016 4 次提交
  8. 01 12月, 2016 11 次提交
  9. 29 11月, 2016 4 次提交
  10. 25 11月, 2016 2 次提交
  11. 24 11月, 2016 1 次提交