]> git.baikalelectronics.ru Git - kernel.git/commit
can: grcan: grcan_probe(): fix broken system id check for errata workaround needs
authorAndreas Larsson <andreas@gaisler.com>
Fri, 29 Apr 2022 08:46:55 +0000 (10:46 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 29 Apr 2022 10:09:32 +0000 (12:09 +0200)
commit8c7ca6217458c49b1155238d715f7404563a934c
treecc60e0c629e51b3aec2c25990305d5bd0ad52325
parent8f7bd77489bb37d4b10f9bcbc56d08d1392ad138
can: grcan: grcan_probe(): fix broken system id check for errata workaround needs

The systemid property was checked for in the wrong place of the device
tree and compared to the wrong value.

Fixes: c7e7f7ef6626 ("can: grcan: Add device driver for GRCAN and GRHCAN cores")
Link: https://lore.kernel.org/all/20220429084656.29788-3-andreas@gaisler.com
Cc: stable@vger.kernel.org
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/grcan.c