aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/isci/core/scic_sds_controller.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/isci/core/scic_sds_controller.c b/drivers/scsi/isci/core/scic_sds_controller.c
index 180bb1e69012..799a04bc0938 100644
--- a/drivers/scsi/isci/core/scic_sds_controller.c
+++ b/drivers/scsi/isci/core/scic_sds_controller.c
@@ -2116,7 +2116,7 @@ enum sci_status scic_controller_construct(struct scic_sds_controller *controller
2116 /* Initialize the User and OEM parameters to default values. */ 2116 /* Initialize the User and OEM parameters to default values. */
2117 scic_sds_controller_set_default_config_parameters(controller); 2117 scic_sds_controller_set_default_config_parameters(controller);
2118 2118
2119 return SCI_SUCCESS; 2119 return scic_controller_reset(controller);
2120} 2120}
2121 2121
2122/* --------------------------------------------------------------------------- */ 2122/* --------------------------------------------------------------------------- */
@@ -3562,6 +3562,7 @@ const struct scic_sds_controller_state_handler scic_sds_controller_state_handler
3562 .terminate_request = scic_sds_controller_default_request_handler, 3562 .terminate_request = scic_sds_controller_default_request_handler,
3563 }, 3563 },
3564 [SCI_BASE_CONTROLLER_STATE_RESET] = { 3564 [SCI_BASE_CONTROLLER_STATE_RESET] = {
3565 .base.reset = scic_sds_controller_general_reset_handler,
3565 .base.initialize = scic_sds_controller_reset_state_initialize_handler, 3566 .base.initialize = scic_sds_controller_reset_state_initialize_handler,
3566 .base.start_io = scic_sds_controller_default_start_operation_handler, 3567 .base.start_io = scic_sds_controller_default_start_operation_handler,
3567 .base.complete_io = scic_sds_controller_default_request_handler, 3568 .base.complete_io = scic_sds_controller_default_request_handler,