summaryrefslogtreecommitdiffstats
path: root/Documentation/misc-devices/uacce.rst
diff options
context:
space:
mode:
authorNavid Emamdoost <navid.emamdoost@gmail.com>2020-06-05 05:32:39 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2020-11-03 22:30:32 +0100
commit79c43333bdd5a7026a5aab606b53053b643585e7 (patch)
tree1d133bb2c7202da791ccdfb4e40f22350dd98966 /Documentation/misc-devices/uacce.rst
parentcan: ti_hecc: ti_hecc_probe(): add missed clk_disable_unprepare() in error path (diff)
downloadlinux-79c43333bdd5a7026a5aab606b53053b643585e7.tar.xz
linux-79c43333bdd5a7026a5aab606b53053b643585e7.zip
can: xilinx_can: handle failure cases of pm_runtime_get_sync
Calling pm_runtime_get_sync increments the counter even in case of failure, causing incorrect ref count. Call pm_runtime_put if pm_runtime_get_sync fails. Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com> Link: https://lore.kernel.org/r/20200605033239.60664-1-navid.emamdoost@gmail.com Fixes: 4716620d1b62 ("can: xilinx: Convert to runtime_pm") Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'Documentation/misc-devices/uacce.rst')
0 files changed, 0 insertions, 0 deletions