summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/i915/intel_lpe_audio.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2019-07-02 02:10:00 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2019-07-02 02:10:00 +0000
commit5cff1a77887847ab6e8fb21cdba9ca83fe414fd0 (patch)
tree023ca49a8d1eb80bfb2b0d6e0599bc41fe310ff7 /sys/dev/pci/drm/i915/intel_lpe_audio.c
parentb09b3678fca5fa5e2876eab7292cbd8072c31525 (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.c2
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);