From 451871a9ea3d65d360d93ecdaf24eb71dfa9b4f2 Mon Sep 17 00:00:00 2001 From: Kiwoong Kim Date: Thu, 8 Feb 2018 23:37:53 +0900 Subject: [PATCH] [HACK][COMMON] scsi: assume device cache off This last resort is for improving black screen symptom. We're guessing it's for a series of unknown delayed work executions. Change-Id: Ie8555e8034b749c9b5544b7e1cb176ab1ab8c87d Signed-off-by: Kiwoong Kim --- drivers/scsi/sd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index 032cc1236d01..718630a7fec0 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c @@ -3266,7 +3266,7 @@ static void sd_probe_async(void *data, async_cookie_t cookie) sdkp->capacity = 0; sdkp->media_present = 1; sdkp->write_prot = 0; - sdkp->cache_override = 0; + sdkp->cache_override = 1; sdkp->WCE = 0; sdkp->RCD = 0; sdkp->ATO = 0; -- 2.20.1