mbox series

[RFC,0/2] ASoC: core/Intel: fix module-in-use error

Message ID 20190201172224.14549-1-pierre-louis.bossart@linux.intel.com (mailing list archive)
Headers show
Series ASoC: core/Intel: fix module-in-use error | expand

Message

Pierre-Louis Bossart Feb. 1, 2019, 5:22 p.m. UTC
Recent simplifications to the SOF driver, which now follows the same
device hierarchy as the Skylake driver, expose a conceptual issue with
the module refcount that blocks module rmmod/modprobe loop tests for
both drivers.

Sending as an RFC since I don't fully understand the initial design
and might have missed a simpler solution.

Pierre-Louis Bossart (2):
  ASoC: core: don't increase component module refcount unconditionally
  ASoC: Intel: Skylake: set .ignore_module_refcount field in component

 include/sound/soc.h               | 3 +++
 sound/soc/intel/skylake/skl-pcm.c | 1 +
 sound/soc/soc-core.c              | 6 ++++--
 3 files changed, 8 insertions(+), 2 deletions(-)