]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Dec 2022 11:24:16 +0000 (12:24 +0100)
commit8ea784fabd064673f3763e38bba3adf45e17e4ba
tree8ccb249c0df2638b8b3c32501eb0baec7dc28cee
parentf988f594362b37fbb6f53f5b6c37117c484a2eab
can: sja1000: fix size of OCR_MODE_MASK define

[ Upstream commit d7e9bc660303a18f96f0634f058930ae998d574f ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/can/platform/sja1000.h