ASoC: Intel: Skylake: Don't unload module when in use
authorVinod Koul <vinod.koul@intel.com>
Fri, 24 Mar 2017 17:40:28 +0000 (23:10 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 29 Mar 2017 11:53:27 +0000 (12:53 +0100)
commitf7ea77772dfaa404ac0bcdea5c262c24e8b860db
treef56b42436ff036346cf3511003b5d0f9d0bac6dc
parente59ed0875b0681ebd1e5062b739742f98f24274c
ASoC: Intel: Skylake: Don't unload module when in use

A module may have multiple instances in DSP, so unload only when usage
count is zero.

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-sst.c