Module Name: src
Committed By: isaki
Date: Sat Feb 6 12:59:13 UTC 2021
Modified Files:
src/sys/dev/pci: yds.c
Log Message:
Remove an extra mutex_spin_exit() in yds_resume().
This one has been moved to before yds_init() in rev 1.59.
To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/sys/dev/pci/yds.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/yds.c
diff -u src/sys/dev/pci/yds.c:1.65 src/sys/dev/pci/yds.c:1.66
--- src/sys/dev/pci/yds.c:1.65 Sat Feb 29 05:51:11 2020
+++ src/sys/dev/pci/yds.c Sat Feb 6 12:59:13 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: yds.c,v 1.65 2020/02/29 05:51:11 isaki Exp $ */
+/* $NetBSD: yds.c,v 1.66 2021/02/06 12:59:13 isaki Exp $ */
/*
* Copyright (c) 2000, 2001 Kazuki Sakamoto and Minoura Makoto.
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: yds.c,v 1.65 2020/02/29 05:51:11 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: yds.c,v 1.66 2021/02/06 12:59:13 isaki Exp $");
#include "mpu.h"
@@ -725,7 +725,6 @@ yds_resume(device_t dv, const pmf_qual_t
pci_conf_write(pc, tag, YDS_PCI_DSCTRL, sc->sc_dsctrl);
sc->sc_enabled = 1;
- mutex_spin_exit(&sc->sc_intr_lock);
sc->sc_codec[0].codec_if->vtbl->restore_ports(sc->sc_codec[0].codec_if);
mutex_exit(&sc->sc_lock);