Public bug reported:

[Impact]

SoundWire codec cleanup leaves device pointers populated after
put_device(). Repeated cleanup can drop the same references twice,
causing refcount warnings or an oops during later probe, bind, or
suspend paths.

[Fix]

Clear the RT amplifier and RT711 device pointers after put_device(),
making the cleanup hooks idempotent.

Upstream fix: 
https://github.com/torvalds/linux/commit/046173b98de316211b81d9909cde81ca582604a8
NV-Kernels PR: https://github.com/NVIDIA/NV-Kernels/pull/560

** Affects: linux-nvidia (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: kernel-daily-bug

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2166188

Title:
  ASoC: sdw_utils: clear stale device references in exit hooks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-nvidia/+bug/2166188/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to