[alsa-devel] inconsistent reference counting for snd-soc-skl

Subhransu S. Prusty subhransu.s.prusty at intel.com
Thu Oct 13 15:41:06 CEST 2016


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

-- 


More information about the Alsa-devel mailing list