[PATCH] scsi: ufs: ufs-mediatek: Modify the return value
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Fri Nov 18 02:39:29 PST 2022
Il 18/11/22 05:52, Chanwoo Lee ha scritto:
> From: ChanWoo Lee <cw9316.lee at samsung.com>
>
> Change the same as the other code to return bool type.
> 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);
>
> Signed-off-by: ChanWoo Lee <cw9316.lee at samsung.com>
> Reviewed-by: Stanley Chu <stanley.chu at mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the Linux-mediatek
mailing list