Re: [PATCH 08/10] can: grcan: Add saving and restoring of CAN FD baud-rate registers
From: Marc Kleine-Budde
Date: Fri Nov 21 2025 - 07:50:53 EST
On 18.11.2025 10:21:13, Arun Muthusamy wrote:
> From: Daniel Hellstrom <daniel@xxxxxxxxxxx>
>
> While reset the GRCAN baud-rates are preserved, since GRCANFD has the
> baud-rate in different registers we need to add saving of those
> registers too.
What about removing the do_set_bittiming callback
priv->can.do_set_bittiming = grcan_set_bittiming;
and calling grcan_set_bittiming() explicitly after the reset?
regards,
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