From 492552b942809e767e2c035b24d669f0e0936d11 Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Sat, 5 Sep 2009 11:59:59 +0000 Subject: scsi_done before COMPLETE --- sys/dev/sdmmc/sdmmc_scsi.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/dev/sdmmc/sdmmc_scsi.c b/sys/dev/sdmmc/sdmmc_scsi.c index 4147cfefb37..b6b678ed11a 100644 --- a/sys/dev/sdmmc/sdmmc_scsi.c +++ b/sys/dev/sdmmc/sdmmc_scsi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sdmmc_scsi.c,v 1.17 2009/04/07 16:35:52 blambert Exp $ */ +/* $OpenBSD: sdmmc_scsi.c,v 1.18 2009/09/05 11:59:58 dlg Exp $ */ /* * Copyright (c) 2006 Uwe Stuehler @@ -345,6 +345,9 @@ sdmmc_scsi_cmd(struct scsi_xfer *xs) case TEST_UNIT_READY: case START_STOP: case SYNCHRONIZE_CACHE: + s = splbio(); + scsi_done(xs); + splx(s); return COMPLETE; case READ_CAPACITY: -- cgit v1.2.3