From: Jeff Garzik Date: Thu, 13 Sep 2012 04:14:21 +0000 (-0400) Subject: Revert "libata: enable SATA disk fua detection on default" X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9973a1c306a01804c41ab34166f1320c9f209038;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git Revert "libata: enable SATA disk fua detection on default" It caused several reported regressions. This reverts commit 91895b786e631ab47b618c901231f22b5a44115b. --- diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index c3fbdca029ea..5eee1c1537d2 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -135,9 +135,9 @@ int atapi_passthru16 = 1; module_param(atapi_passthru16, int, 0444); MODULE_PARM_DESC(atapi_passthru16, "Enable ATA_16 passthru for ATAPI devices (0=off, 1=on [default])"); -int libata_fua = 1; +int libata_fua = 0; module_param_named(fua, libata_fua, int, 0444); -MODULE_PARM_DESC(fua, "FUA support (0=off, 1=on [default])"); +MODULE_PARM_DESC(fua, "FUA support (0=off [default], 1=on)"); static int ata_ignore_hpa; module_param_named(ignore_hpa, ata_ignore_hpa, int, 0644);