HomeFreeBSD

Fix locking in bcm2835_audio driver

Description

Fix locking in bcm2835_audio driver

  • Move all VCHI activity to worker thread: channel methods are called with non-sleepable lock held and VCHI uses sleepable lock.
  • In worker thread use sx(9) lock instead of mutex(9) for the same reason.

PR: 213801, 205979

Details

Provenance
gonzoAuthored on
Parents
rS308423: Fix the fallout from r308268 (mpt driver causes endless witness warnings in
Branches
Unknown
Tags
Unknown