[HACK][COMMON] scsi: assume device cache off
authorKiwoong Kim <kwmad.kim@samsung.com>
Thu, 8 Feb 2018 14:37:53 +0000 (23:37 +0900)
committerJaeHun Jung <jh0801.jung@samsung.com>
Tue, 8 May 2018 08:21:50 +0000 (17:21 +0900)
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 <kwmad.kim@samsung.com>
drivers/scsi/sd.c

index 032cc1236d01f632458848c58d77145a0e28e910..718630a7fec04233fff4909b48ad5c2556cd422e 100644 (file)
@@ -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;