Re: [PATCH] ASoC: Intel: Skylake: Always acquire runtime pm ref on unload

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 20, 2016 at 12:26:16PM +0200, Lukas Wunner wrote:
> skl_probe() releases a runtime pm ref unconditionally wheras
> skl_remove() acquires one only if the device is wakeup capable.
> Thus if the device is not wakeup capable, unloading and reloading
> the module will result in the refcount being decreased below 0.
> Fix it.

Hi Lukas,

Thanks for the patch, have you tested this?

I did some tests last week and I dont remember module load/unload having an
issue.. I will test again next week and get back.

Was this found on hardware or by code inspection..


-- 
~Vinod
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux