[PATCH] scsi: ufs: ufs-mediatek : Fix NULL vs IS_ERR checking in ufs_mtk_init_va09_pwr_ctrl
Chen-Yu Tsai
wenst at chromium.org
Tue Dec 21 22:48:28 PST 2021
On Wed, Dec 22, 2021 at 2:25 PM Miaoqian Lin <linmq006 at gmail.com> wrote:
>
> The function regulator_get() return error pointer,
> use IS_ERR() to check if has error.
>
> Signed-off-by: Miaoqian Lin <linmq006 at gmail.com>
Please add
Fixes: cf137b3ea49a ("scsi: ufs-mediatek: Support VA09 regulator operations")
so that the patch has a chance to get picked into stable.
More information about the Linux-mediatek
mailing list