diff options
author | Fabrizio Castro <fabrizio.castro@bp.renesas.com> | 2018-09-10 11:43:13 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-13 09:18:46 +0100 |
commit | c6b578b1b4a7c56b469e16e6afd3ec478e1872c3 (patch) | |
tree | ba2c35abe6e31c8cef59e8f976fc35eae4c3b11f /lib | |
parent | b65fa7b581f8a50ef147055006a7aa28ddb1086d (diff) |
can: rcar_can: Fix erroneous registration
[ Upstream commit 68c8d209cd4337da4fa04c672f0b62bb735969bc ]
Assigning 2 to "renesas,can-clock-select" tricks the driver into
registering the CAN interface, even though we don't want that.
This patch improves one of the checks to prevent that from happening.
Fixes: 862e2b6af9413b43 ("can: rcar_can: support all input clocks")
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Chris Paterson <Chris.Paterson2@renesas.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions