mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
ANDROID: scsi: ufs: Enable the BLK_MQ_F_BLOCKING flag
Prepare for adding code in ufshcd_queuecommand() that may sleep. Bug: 280677698 Change-Id: I20f0a2aa4571b6ca8a51bf75f5dbf0cd8855706a Signed-off-by: Bart Van Assche <bvanassche@google.com>
This commit is contained in:
committed by
Carlos Llamas
parent
d2bdb0021c
commit
f6e3f2aff1
@@ -8811,6 +8811,7 @@ static struct scsi_host_template ufshcd_driver_template = {
|
||||
.max_sectors = (1 << 20) / SECTOR_SIZE, /* 1 MiB */
|
||||
.max_host_blocked = 1,
|
||||
.track_queue_depth = 1,
|
||||
.queuecommand_may_block = true,
|
||||
.sdev_groups = ufshcd_driver_groups,
|
||||
.rpm_autosuspend_delay = RPM_AUTOSUSPEND_DELAY_MS,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user