diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-07-02 02:10:00 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-07-02 02:10:00 +0000 |
commit | 5cff1a77887847ab6e8fb21cdba9ca83fe414fd0 (patch) | |
tree | 023ca49a8d1eb80bfb2b0d6e0599bc41fe310ff7 /sys/dev/pci/drm/i915/intel_lpe_audio.c | |
parent | b09b3678fca5fa5e2876eab7292cbd8072c31525 (diff) |
Use IPL_TTY for locks used as arguments to spin_lock_irq() and
spin_lock_irqsave() to closer match the linux interrupt blocking
behaviour. Prompted by a discussion with kettenis@.
ok kettenis@
Diffstat (limited to 'sys/dev/pci/drm/i915/intel_lpe_audio.c')
-rw-r--r-- | sys/dev/pci/drm/i915/intel_lpe_audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/i915/intel_lpe_audio.c b/sys/dev/pci/drm/i915/intel_lpe_audio.c index d70b570f6b5..78cb32c7e1c 100644 --- a/sys/dev/pci/drm/i915/intel_lpe_audio.c +++ b/sys/dev/pci/drm/i915/intel_lpe_audio.c @@ -119,7 +119,7 @@ lpe_audio_platdev_create(struct drm_i915_private *dev_priv) pdata->port[0].pipe = -1; pdata->port[1].pipe = -1; pdata->port[2].pipe = -1; - mtx_init(&pdata->lpe_audio_slock); + mtx_init(&pdata->lpe_audio_slock, IPL_TTY); platdev = platform_device_register_full(&pinfo); kfree(rsc); |