https://github.com/torvalds/linux
Revision f7c05c3987dcfde9a4e8c2d533db013fabebca0d authored by Yoshihiro Shimoda on 24 September 2021, 07:55:56 UTC, committed by Marc Kleine-Budde on 17 October 2021, 20:51:43 UTC
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")
Link: https://lore.kernel.org/all/20210924075556.223685-1-yoshihiro.shimoda.uh@renesas.com
Cc: stable@vger.kernel.org
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tested-by: Ayumi Nakamichi <ayumi.nakamichi.kf@renesas.com>
Reviewed-by: Ulrich Hecht <uli+renesas@fpond.eu>
Tested-by: Biju Das <biju.das.jz@bp.renesas.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
1 parent 43a08c3
Raw File
Tip revision: f7c05c3987dcfde9a4e8c2d533db013fabebca0d authored by Yoshihiro Shimoda on 24 September 2021, 07:55:56 UTC
can: rcar_can: fix suspend/resume
Tip revision: f7c05c3
COPYING
The Linux Kernel is provided under:

	SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note

Being under the terms of the GNU General Public License version 2 only,
according with:

	LICENSES/preferred/GPL-2.0

With an explicit syscall exception, as stated at:

	LICENSES/exceptions/Linux-syscall-note

In addition, other licenses may also apply. Please see:

	Documentation/process/license-rules.rst

for more details.

All contributions to the Linux Kernel are subject to this COPYING file.
back to top