Re: inconsistent reference counting for snd-soc-skl

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

 



On Thu, Oct 13, 2016 at 10:19:37PM +0900, Takashi Sakamoto wrote:
> Hi,
> 
> I find an issue of snd-soc-skl due to inconsistent reference counting.
> See this call graph.
> 
> skl_probe()
> ->skl_first_init()
>   ->skl_i915_init()
>     ->snd_hdac_display_power() (CONFIG_SND_SOC_HDAC_HDMI is enabled)
>       ->bus->i915_power_refcount++
> ->all error pathes
>   ->skl_free()
>     ->snd_hda_i915_exit()
>       ->WARN_ON(!bus->i915_power_refcount)
> 
> This might be also hit by rmmod(8). I see this bug in kernel 4.8 and
> pre-4.9.

Thanks Takashi for reporting. We will fix this.

Regards,
Subhransu

> 
> 
> Regards
> 
> Takashi Sakamoto

-- 
_______________________________________________
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