OSDN Git Service

can: flexcan: Unlock the MB unconditionally
authorPankaj Bansal <pankaj.bansal@nxp.com>
Wed, 1 Aug 2018 14:06:46 +0000 (19:36 +0530)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 9 Nov 2018 16:20:12 +0000 (17:20 +0100)
commit5178b7cd8e42448b1041716f124734eaaa36ca50
tree62c9b23882d44086203db4e1f38fea778caf0042
parentf164d0204b1156a7e0d8d1622c1a8d25752befec
can: flexcan: Unlock the MB unconditionally

Unlock the MB irrespective of reception method being FIFO or timestamp
based. It is optional but recommended to unlock Mailbox as soon as
possible and make it available for reception.

Reported-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/flexcan.c