On Thu, Apr 13, 2023 at 07:10:21PM -0700, Lars-Peter Clausen wrote: > 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 <lars@xxxxxxxxxx> Applied to for-current, thanks!
Attachment:
signature.asc
Description: PGP signature