]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: ufs-mediatek: Support performance boosting
authorPeter Wang <peter.wang@mediatek.com>
Thu, 23 Jun 2022 03:50:51 +0000 (11:50 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 28 Jun 2022 03:17:36 +0000 (23:17 -0400)
commit88a585767f04e7444b51fee58fd1590623ab475d
tree20f6e60250d9edb634ba5132f68f9639c19a5c79
parentde954f3144604cf06e3b10e51085591fae371318
scsi: ufs: ufs-mediatek: Support performance boosting

Add pm-qos request to support performance boosting in MediaTek UFS
platforms.

At the same time, adjust the order of function calls to be symmetric during
the low-power control flow.

Link: https://lore.kernel.org/r/20220623035052.18802-8-stanley.chu@mediatek.com
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Peter Wang <peter.wang@mediatek.com>
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/host/ufs-mediatek.c
drivers/ufs/host/ufs-mediatek.h