From: Tomasz Chudy Date: Wed, 23 Feb 2011 08:08:49 +0000 (-0800) Subject: isci: fix "no outbound task timeout" default value X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=06fdb3286270a45d05b15db46416b2fe2f52583a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git isci: fix "no outbound task timeout" default value The default should be 5us. The hardware encodes it in 256ns increments, so the value should be 20 to approximate a 5us timeout. Signed-off-by: Tomasz Chudy Signed-off-by: Jacek Danecki Signed-off-by: Dan Williams --- diff --git a/drivers/scsi/isci/core/scic_sds_controller.c b/drivers/scsi/isci/core/scic_sds_controller.c index 53861ccbd593..1cbb91c0ead8 100644 --- a/drivers/scsi/isci/core/scic_sds_controller.c +++ b/drivers/scsi/isci/core/scic_sds_controller.c @@ -1997,8 +1997,7 @@ static void scic_sds_controller_set_default_config_parameters( this_controller->user_parameters.sds1.ssp_inactivity_timeout = 5; this_controller->user_parameters.sds1.stp_max_occupancy_timeout = 5; this_controller->user_parameters.sds1.ssp_max_occupancy_timeout = 20; - this_controller->user_parameters.sds1.no_outbound_task_timeout = 5; - + this_controller->user_parameters.sds1.no_outbound_task_timeout = 20; }