]> git.baikalelectronics.ru Git - kernel.git/commit
can: sja1000: fix size of OCR_MODE_MASK define
authorHeiko Schocher <hs@denx.de>
Wed, 23 Nov 2022 07:16:36 +0000 (08:16 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 24 Nov 2022 15:01:04 +0000 (16:01 +0100)
commitd7e9bc660303a18f96f0634f058930ae998d574f
tree76a32bd563578a2244276efc2f645c02d3644373
parent691bbebfeda704da2fcdeb8fa91522e3bf77ae90
can: sja1000: fix size of OCR_MODE_MASK define

bitfield mode in ocr register has only 2 bits not 3, so correct
the OCR_MODE_MASK define.

Signed-off-by: Heiko Schocher <hs@denx.de>
Link: https://lore.kernel.org/all/20221123071636.2407823-1-hs@denx.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
include/linux/can/platform/sja1000.h