diff options
author | Aditya Pakki <[email protected]> | 2020-06-13 22:05:18 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2020-07-10 16:17:25 +0200 |
commit | 78c2ce9bde70be5be7e3615a2ae7024ed8173087 (patch) | |
tree | d8358080fdbe511ddf2a430d384f6bcfe22173db /drivers/fpga/xilinx-spi.c | |
parent | edcb3895a751c762a18d25c8d9846ce9759ed7e1 (diff) |
omapfb: fix multiple reference count leaks due to pm_runtime_get_sync
On calling pm_runtime_get_sync() the reference count of the device
is incremented. In case of failure, decrement the
reference count before returning the error.
Signed-off-by: Aditya Pakki <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: Allison Randal <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Enrico Weigelt <[email protected]>
cc: "Andrew F. Davis" <[email protected]>
Cc: Tomi Valkeinen <[email protected]>
Cc: Alexios Zavras <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: YueHaibing <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions