summaryrefslogtreecommitdiff
path: root/drivers/base/container.c
diff options
context:
space:
mode:
authorTong Zhang <ztong0001@gmail.com>2021-03-02 05:55:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-30 15:37:01 +0300
commit779c33c0aabd427d88478bd9135e6ce82ab58c5b (patch)
tree66ed8263dc3e433bc6ceb03c798051644784e0a2 /drivers/base/container.c
parentf02487cc4663353be9b11e1701beff04473aca6f (diff)
downloadlinux-779c33c0aabd427d88478bd9135e6ce82ab58c5b.tar.xz
can: c_can: move runtime PM enable/disable to c_can_platform
[ Upstream commit 6e2fe01dd6f98da6cae8b07cd5cfa67abc70d97d ] Currently doing modprobe c_can_pci will make the kernel complain: Unbalanced pm_runtime_enable! this is caused by pm_runtime_enable() called before pm is initialized. This fix is similar to 227619c3ff7c, move those pm_enable/disable code to c_can_platform. Fixes: 4cdd34b26826 ("can: c_can: Add runtime PM support to Bosch C_CAN/D_CAN controller") Link: http://lore.kernel.org/r/20210302025542.987600-1-ztong0001@gmail.com Signed-off-by: Tong Zhang <ztong0001@gmail.com> Tested-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/base/container.c')
0 files changed, 0 insertions, 0 deletions