summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJoakim Zhang <qiangqing.zhang@nxp.com>2020-10-20 21:45:27 +0300
committerMarc Kleine-Budde <mkl@pengutronix.de>2020-11-04 00:30:34 +0300
commitab07ff1c92fa60f29438e655a1b4abab860ed0b6 (patch)
tree04d7594ff2540c950e317eebfff2f4855a5732f5 /net
parent5fdf04a9fdc27fc6cd37bb2ae44a84a282323773 (diff)
downloadlinux-ab07ff1c92fa60f29438e655a1b4abab860ed0b6.tar.xz
can: flexcan: flexcan_remove(): disable wakeup completely
With below sequence, we can see wakeup default is enabled after re-load module, if it was enabled before, so we need disable wakeup in flexcan_remove(). | # cat /sys/bus/platform/drivers/flexcan/5a8e0000.can/power/wakeup | disabled | # echo enabled > /sys/bus/platform/drivers/flexcan/5a8e0000.can/power/wakeup | # cat /sys/bus/platform/drivers/flexcan/5a8e0000.can/power/wakeup | enabled | # rmmod flexcan | # modprobe flexcan | # cat /sys/bus/platform/drivers/flexcan/5a8e0000.can/power/wakeup | enabled Fixes: de3578c198c6 ("can: flexcan: add self wakeup support") Fixes: 915f9666421c ("can: flexcan: add support for DT property 'wakeup-source'") Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com> Link: https://lore.kernel.org/r/20201020184527.8190-1-qiangqing.zhang@nxp.com [mkl: streamlined commit message] Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions