Re: [PATCH] can: tcan4x5x: fix power regulator retrieval during probe

From: Marc Kleine-Budde
Date: Fri Jun 13 2025 - 03:31:09 EST


On 12.06.2025 14:18:25, Brett Werling wrote:
> Fixes the power regulator retrieval in tcan4x5x_can_probe() by ensuring
> the regulator pointer is not set to NULL in the successful return from
> devm_regulator_get_optional().
>
> Fixes: 3814ca3a10be ("can: tcan4x5x: tcan4x5x_can_probe(): turn on the power before parsing the config")
> Signed-off-by: Brett Werling <brett.werling@xxxxxxxxxx>

Applied to linux-can and added stable on Cc.

Thanks,
Marc

--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |

Attachment: signature.asc
Description: PGP signature