Commit 33ed2524 authored by ChanWoo Lee's avatar ChanWoo Lee Committed by Treehugger Robot
Browse files

FROMGIT: scsi: ufs: ufs-mediatek: Modify the return value



Be consistent with the rest of driver wrt. functions returning bool.

  91: 	return !!(host->caps & UFS_MTK_CAP_BOOST_CRYPT_ENGINE);
  98: 	return !!(host->caps & UFS_MTK_CAP_VA09_PWR_CTRL);
  105:	return !!(host->caps & UFS_MTK_CAP_BROKEN_VCC);

Change-Id: Ia0954d5ce13b0dabb886958850eb63745b92e062
Signed-off-by: default avatarChanWoo Lee <cw9316.lee@samsung.com>
Link: https://lore.kernel.org/r/20221118045242.2770-1-cw9316.lee@samsung.com


Reviewed-by: default avatarStanley Chu <stanley.chu@mediatek.com>
Reviewed-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit 96a2dfa1 git://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git

 for-next)
Signed-off-by: default avatarBart Van Assche <bvanassche@google.com>
parent fb3ee331
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment