]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs-mediatek: Assign arguments with correct type
authorStanley Chu <stanley.chu@mediatek.com>
Thu, 29 Oct 2020 11:57:45 +0000 (19:57 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 11 Nov 2020 04:03:18 +0000 (23:03 -0500)
commitfcb45f773d06fd33dc3816edfd1f46195ec08dff
tree941e17b214f3456bd6ffe23f7a9b01074836e513
parentc11fe4ef778e6c4436592234dbffa87842974560
scsi: ufs-mediatek: Assign arguments with correct type

In ufs_mtk_unipro_set_lpm(), use specific unsigned values as the argument
to invoke ufshcd_dme_set().

At the same time, change the name of ufs_mtk_unipro_set_pm() to
ufs_mtk_unipro_set_lpm() to align the naming convention in MediaTek UFS
driver.

Link: https://lore.kernel.org/r/20201029115750.24391-2-stanley.chu@mediatek.com
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufs-mediatek.c