aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/can/usb
diff options
context:
space:
mode:
authorFaiz Abbas <faiz_abbas@ti.com>2018-07-03 16:41:02 +0530
committerMarc Kleine-Budde <mkl@pengutronix.de>2018-07-23 14:34:45 +0200
commit1675bee3e732c2449e792feed9caff804f3bd42c (patch)
tree4d147b86675b1c3b4f8a1cfd68e25109b79b0e40 /drivers/net/can/usb
parentcan: mpc5xxx_can: check of_iomap return before use (diff)
downloadlinux-dev-1675bee3e732c2449e792feed9caff804f3bd42c.tar.xz
linux-dev-1675bee3e732c2449e792feed9caff804f3bd42c.zip
can: m_can: Fix runtime resume call
pm_runtime_get_sync() returns a 1 if the state of the device is already 'active'. This is not a failure case and should return a success. Therefore fix error handling for pm_runtime_get_sync() call such that it returns success when the value is 1. Also cleanup the TODO for using runtime PM for sleep mode as that is implemented. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Cc: <stable@vger.kernel.org Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/usb')
0 files changed, 0 insertions, 0 deletions