soc: imx: imx8mp-blk-ctrl: Do not set power domain name
PATCH 1/1 soc: imx: imx8mp-blk-ctrl: Do not set power domain name
Similar to commit b64b46fbaa1da626324f304bcb5fe0662f28b6ce
Domain name set confuses the sysfs cleanup path since the rename is done after the device registration.
---
Cc: Adam Ford <[email protected]>
Cc: Benjamin Gaignard <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Lucas Stach <[email protected]>
Cc: Marco Felsch <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: NXP Linux Team <[email protected]>
Cc: Paul Elder <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Pengutronix Kernel Team <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: Shawn Guo <[email protected]>
To: [email protected]
--- drivers/soc/imx/imx8mp-blk-ctrl.c | 1 - 1 file changed, 1 deletion(-)
drivers/soc/imx/imx8mp-blk-ctrl.c +0 -1
@@ -560,7 +560,6 @@ static int imx8mp_blk_ctrl_probe(struct platform_device *pdev) ret =PTR_ERR (domain->power_dev); goto cleanup_pds; } -dev_set_name (domain->power_dev,"%s" , data->name); domain->genpd.name = data->name; domain->genpd.power_on = imx8mp_blk_ctrl_power_on;
Signature · 7 lines
2.35.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 7 lines · Marek Vasut
Similar to commit
b64b46fbaa1da626324f304bcb5fe0662f28b6ceDomain name set confuses the sysfs cleanup path since the rename is done after the device registration.
Fixes 556f5cf9568a ("soc: imx: add i.MX8MP HSIO blk-ctrl")Signed-off-by Marek Vasut <[email protected]>
I'm afraid that without this patch, linux 6.1 does not even boot on i.MX8M Plus . It would be good to apply it.
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Hi Marek,
Am Dienstag, dem 17.01.2023 um 22:45 +0100 schrieb Marek Vasut:
Quoted 11 lines · Marek Vasut
Quoted 7 lines
Similar to commit
b64b46fbaa1da626324f304bcb5fe0662f28b6ceDomain name set confuses the sysfs cleanup path since the rename is done after the device registration.
Fixes 556f5cf9568a ("soc: imx: add i.MX8MP HSIO blk-ctrl")Signed-off-by Marek Vasut <[email protected]>I'm afraid that without this patch, linux 6.1 does not even boot on i.MX8M Plus . It would be good to apply it.
The equivalent patch 21b84ebeee79 ("soc: imx: imx8mp-blk-ctrl: don't set power device name") is already in Shawns fixes branch.
Regards,
Lucas
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel