[PATCH] scsi: ufs: ufs-mediatek: Modify the return value

Stanley Chu chu.stanley at gmail.com
Thu Nov 17 21:42:59 PST 2022


On Fri, Nov 18, 2022 at 12:57 PM Chanwoo Lee <cw9316.lee at samsung.com> wrote:
>
> 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>



More information about the Linux-mediatek mailing list