Re: [PATCH 13/15] can: tcan4x5x: Fix use of register error status mask

From: Marc Kleine-Budde
Date: Fri Dec 02 2022 - 09:19:55 EST


On 16.11.2022 21:53:06, Markus Schneider-Pargmann wrote:
> TCAN4X5X_ERROR_STATUS is not a status register that needs clearing
> during interrupt handling. Instead this is a masking register that masks
> error interrupts. Writing TCAN4X5X_CLEAR_ALL_INT to this register
> effectively masks everything.
>
> Rename the register and mask all error interrupts only once by writing
> to the register in tcan4x5x_init.
>
> Signed-off-by: Markus Schneider-Pargmann <msp@xxxxxxxxxxxx>

please add a fixes tag.

Marc

--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung West/Dortmund | Phone: +49-231-2826-924 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |

Attachment: signature.asc
Description: PGP signature