aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/zynqmp-fpga.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <[email protected]>2023-04-13 19:10:21 -0700
committerWolfram Sang <[email protected]>2023-04-18 18:43:45 +0200
commitae1664f04f504a998737f5bb563f16b44357bcca (patch)
tree43337569106643a99ce2d6f01864fe2ef35956bc /drivers/fpga/zynqmp-fpga.c
parent6a8f57ae2eb07ab39a6f0ccad60c760743051026 (diff)
i2c: cadence: cdns_i2c_master_xfer(): Fix runtime PM leak on error path
The cdns_i2c_master_xfer() function gets a runtime PM reference when the function is entered. This reference is released when the function is exited. There is currently one error path where the function exits directly, which leads to a leak of the runtime PM reference. Make sure that this error path also releases the runtime PM reference. Fixes: 1a351b10b967 ("i2c: cadence: Added slave support") Signed-off-by: Lars-Peter Clausen <[email protected]> Reviewed-by: Michal Simek <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'drivers/fpga/zynqmp-fpga.c')
0 files changed, 0 insertions, 0 deletions