aboutsummaryrefslogtreecommitdiff
path: root/drivers/perf/fsl_imx8_ddr_perf.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-03-09 10:58:19 +0100
committerWolfram Sang <[email protected]>2023-06-07 12:29:58 +0200
commitca0aa17f2db3468fd017038d23a78e17388e2f67 (patch)
tree81e080525873e5feb75c3e2c47608d24345daa25 /drivers/perf/fsl_imx8_ddr_perf.c
parent5578d0a79b6430fa1543640dd6f2d397d0886ce7 (diff)
i2c: sprd: Delete i2c adapter in .remove's error path
If pm runtime resume fails the .remove callback used to exit early. This resulted in an error message by the driver core but the device gets removed anyhow. This lets the registered i2c adapter stay around with an unbound parent device. So only skip clk disabling if resume failed, but do delete the adapter. Fixes: 8b9ec0719834 ("i2c: Add Spreadtrum I2C controller driver") Signed-off-by: Uwe Kleine-König <[email protected]> Reviewed-by: Andi Shyti <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'drivers/perf/fsl_imx8_ddr_perf.c')
0 files changed, 0 insertions, 0 deletions