summaryrefslogtreecommitdiff
path: root/sys/dev/sdmmc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-12-21 17:10:09 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-12-21 17:10:09 +0000
commit4e0df04c58f0b09f710e9f3b30418ed863704e65 (patch)
treeff58a88f7635209325d8a04512b66cb14db946b2 /sys/dev/sdmmc
parentd1a5574c674a66e61271dff9d5388b22e6371dc3 (diff)
rearrange DVACT_RESUME chunk to avoid implying something ridiculous
ok stsp
Diffstat (limited to 'sys/dev/sdmmc')
-rw-r--r--sys/dev/sdmmc/sdmmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sdmmc/sdmmc.c b/sys/dev/sdmmc/sdmmc.c
index 82754404b9a..3184278f280 100644
--- a/sys/dev/sdmmc/sdmmc.c
+++ b/sys/dev/sdmmc/sdmmc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sdmmc.c,v 1.30 2013/12/06 21:03:04 deraadt Exp $ */
+/* $OpenBSD: sdmmc.c,v 1.31 2013/12/21 17:10:08 deraadt Exp $ */
/*
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
@@ -157,8 +157,8 @@ sdmmc_activate(struct device *self, int act)
sc->sc_dying = -1;
break;
case DVACT_RESUME:
- wakeup(&sc->sc_tskq);
rv = config_activate_children(self, act);
+ wakeup(&sc->sc_tskq);
break;
default:
rv = config_activate_children(self, act);