mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[SCSI] libsas: Enable automatic spin-up of SAS disks
Set allow_restart=1 for all SAS disks so that they are spun up when needed. Signed-off-by: Darrick J. Wong <[email protected]> Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
parent
111367f5c9
commit
f27708fc75
1 changed files with 2 additions and 0 deletions
|
|
@ -723,6 +723,8 @@ int sas_slave_configure(struct scsi_device *scsi_dev)
|
|||
scsi_deactivate_tcq(scsi_dev, 1);
|
||||
}
|
||||
|
||||
scsi_dev->allow_restart = 1;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue