Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Release the sc_intr_lock on error
details: https://anonhg.NetBSD.org/src/rev/ebabaf93cac7
branches: trunk
changeset: 849929:ebabaf93cac7
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Mar 19 15:19:13 2020 +0000
description:
Release the sc_intr_lock on error
diffstat:
sys/dev/ic/dwc_mmc.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 445757e24657 -r ebabaf93cac7 sys/dev/ic/dwc_mmc.c
--- a/sys/dev/ic/dwc_mmc.c Thu Mar 19 14:10:56 2020 +0000
+++ b/sys/dev/ic/dwc_mmc.c Thu Mar 19 15:19:13 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc_mmc.c,v 1.22 2020/01/23 23:53:55 jmcneill Exp $ */
+/* $NetBSD: dwc_mmc.c,v 1.23 2020/03/19 15:19:13 skrll Exp $ */
/*-
* Copyright (c) 2014-2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwc_mmc.c,v 1.22 2020/01/23 23:53:55 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dwc_mmc.c,v 1.23 2020/03/19 15:19:13 skrll Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -717,6 +717,7 @@
if (error != 0) {
cmd->c_error = error;
SET(cmd->c_flags, SCF_ITSDONE);
+ mutex_exit(&sc->sc_intr_lock);
goto done;
}
}
Home |
Main Index |
Thread Index |
Old Index