On Mon, Apr 03, 2023 at 02:25:09PM +0200, Marco Felsch wrote: > The update handler path must be a full-path starting at '/'. Fix this by > adding the '/dev/' path prefix. > > Signed-off-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx> > --- > arch/arm/boards/protonic-imx6/board.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied, thanks Sascha > > diff --git a/arch/arm/boards/protonic-imx6/board.c b/arch/arm/boards/protonic-imx6/board.c > index d2fb25d3cc..0d57f409d2 100644 > --- a/arch/arm/boards/protonic-imx6/board.c > +++ b/arch/arm/boards/protonic-imx6/board.c > @@ -530,7 +530,7 @@ static int prt_imx6_bbu(struct prt_imx6_priv *priv) > emmc_flags = BBU_HANDLER_FLAG_DEFAULT; > } > > - devicefile = basprintf("mmc%d", dcfg->emmc_usdhc); > + devicefile = basprintf("/dev/mmc%d", dcfg->emmc_usdhc); > if (!devicefile) { > ret = -ENOMEM; > goto exit_bbu; > @@ -540,7 +540,7 @@ static int prt_imx6_bbu(struct prt_imx6_priv *priv) > if (ret) > goto exit_bbu; > > - devicefile = basprintf("mmc%d", dcfg->sd_usdhc); > + devicefile = basprintf("/dev/mmc%d", dcfg->sd_usdhc); > if (!devicefile) { > ret = -ENOMEM; > goto exit_bbu; > -- > 2.39.2 > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |