summaryrefslogtreecommitdiff
path: root/net/can/gw.c
diff options
context:
space:
mode:
authorJoakim Zhang <qiangqing.zhang@nxp.com>2019-07-02 04:45:41 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2019-07-24 12:16:31 +0300
commit5f186c257fa4808bb7f14e643b9fba3e11f08a30 (patch)
tree1c668540712365184c460097fe612b1458a282a5 /net/can/gw.c
parente9f2a856e102fa27715b94bcc2240f686536d29b (diff)
downloadlinux-5f186c257fa4808bb7f14e643b9fba3e11f08a30.tar.xz
can: flexcan: fix stop mode acknowledgment
To enter stop mode, the CPU should manually assert a global Stop Mode request and check the acknowledgment asserted by FlexCAN. The CPU must only consider the FlexCAN in stop mode when both request and acknowledgment conditions are satisfied. Fixes: de3578c198c6 ("can: flexcan: add self wakeup support") Reported-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com> Cc: linux-stable <stable@vger.kernel.org> # >= v5.0 Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/can/gw.c')
0 files changed, 0 insertions, 0 deletions