Files
android_kernel_xiaomi_sm8450/drivers/net/can
Faiz Abbas 1675bee3e7 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>
2018-07-23 14:34:45 +02:00
..
2018-07-23 14:34:45 +02:00
2018-06-12 16:19:22 -07:00
2018-03-26 15:57:02 +02:00
2018-03-26 15:57:02 +02:00
2018-06-12 16:19:22 -07:00