# Re: \[PATCH v2\] can: rcar\_can: Fix suspend/resume

- From: Marc Kleine-Budde \<mkl@pengutronix.de\>
- Date: 2021-10-17 13:08:25 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/10/9334622
- Thread: https://ratatoskr.run/linux-can/2021/09/9334232/t.md

```text
On 24.09.2021 16:55:56, Yoshihiro Shimoda wrote:
> If the driver was not opened, rcar_can_suspend() should not call
> clk_disable() because the clock was not enabled.
> 
> Fixes: fd1159318e55 ("can: add Renesas R-Car CAN driver")
> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
> Tested-by: Ayumi Nakamichi <redacted>
> Reviewed-by: Ulrich Hecht <redacted>
> Tested-by: Biju Das <biju.das.jz@bp.renesas.com>

Applied to linux-can/testing, added stable on Cc.

regards,
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 |
```

## Attachments

- [signature.asc](https://ratatoskr.run/netdev/2021/10/9334622/attachment/0) (application/pgp-signature, 488 bytes)
