linux-stable/drivers/net/can
Fabrizio Castro c6b578b1b4 can: rcar_can: Fix erroneous registration
[ Upstream commit 68c8d209cd ]

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: 862e2b6af9 ("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>
2018-12-13 09:18:46 +01:00
..
c_can
cc770 can: cc770: Fix use after free in cc770_tx_interrupt() 2018-03-28 18:24:45 +02:00
ifi_canfd can: ifi: Check core revision upon probe 2018-03-28 18:24:44 +02:00
m_can can: m_can: Move accessing of message ram to after clocks are enabled 2018-09-05 09:26:28 +02:00
mscan can: mpc5xxx_can: check of_iomap return before use 2018-09-05 09:26:28 +02:00
peak_canfd can: peak_canfd: fix firmware < v3.3.0: limit allocation to 32-bit DMA addr only 2018-07-28 07:55:45 +02:00
rcar can: rcar_can: Fix erroneous registration 2018-12-13 09:18:46 +01:00
sja1000
softing
spi can: hi311x: Use level-triggered interrupt 2018-12-01 09:42:53 +01:00
usb can: ems_usb: Fix memory leak on ems_usb_disconnect() 2018-08-06 16:20:48 +02:00
at91_can.c
bfin_can.c
dev.c can: dev: __can_get_echo_skb(): print error message, if trying to echo non existing skb 2018-12-01 09:42:52 +01:00
flexcan.c can: rx-offload: rename can_rx_offload_irq_queue_err_skb() to can_rx_offload_queue_tail() 2018-12-01 09:42:52 +01:00
grcan.c
janz-ican3.c
Kconfig
led.c
Makefile
pch_can.c
rx-offload.c can: rx-offload: rename can_rx_offload_irq_queue_err_skb() to can_rx_offload_queue_tail() 2018-12-01 09:42:52 +01:00
slcan.c
sun4i_can.c
ti_hecc.c
vcan.c
vxcan.c can: vxcan: improve handling of missing peer name attribute 2018-01-17 09:45:17 +01:00
xilinx_can.c can: xilinx_can: fix RX overflow interrupt not being enabled 2018-07-28 07:55:45 +02:00