]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
scsi: ufs: core: Remove UFS_DEVICE_QUIRK_DELAY_AFTER_LPM quirk
authorBao D. Nguyen <quic_nguyenb@quicinc.com>
Mon, 13 Oct 2025 19:38:15 +0000 (12:38 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 22 Oct 2025 01:22:17 +0000 (21:22 -0400)
commitf8e82ae65eaf347fb8924a1d9c544da7bcb9f798
treed59ca0e37209285657313064ee7407c7a057fc1d
parent3a8660878839faadb4f1a6dd72c3179c1df56787
scsi: ufs: core: Remove UFS_DEVICE_QUIRK_DELAY_AFTER_LPM quirk

After the UFS device VCC is turned off, all the UFS device manufacturers
require a period of power-off time before the VCC can be turned on
again. This requirement has been confirmed with all the UFS device
manufacturer's datasheets.

Remove the UFS_DEVICE_QUIRK_DELAY_AFTER_LPM quirk in the UFS core driver
and implement a universal delay that is required by all the UFS device
manufacturers. In addition, remove the support for this quirk in the
platform drivers.

Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
Reviewed-by: Peter Wang <peter.wang@mediatek.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/25f134d5a42e8b8365be64d512d1bb5fc2bce6ff.1760383740.git.quic_nguyenb@quicinc.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c
drivers/ufs/host/ufs-mediatek.c
drivers/ufs/host/ufs-qcom.c
include/ufs/ufs_quirks.h