linux/drivers/i2c
Laurentiu Tudor 3ace6891ce i2c: imx: don't leak the i2c adapter on error
Make sure to free the i2c adapter on the error exit path.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fixes: e1ab9a468e ("i2c: imx: improve the error handling in i2c_imx_dma_request()")
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2019-04-06 17:54:28 +02:00
..
algos i2c: algo-bit: convert to SPDX header 2019-02-05 14:05:03 +01:00
busses i2c: imx: don't leak the i2c adapter on error 2019-04-06 17:54:28 +02:00
muxes
i2c-boardinfo.c
i2c-core-acpi.c
i2c-core-base.c i2c: add extra check to safe DMA buffer helper 2019-03-13 18:03:26 +01:00
i2c-core-of.c i2c: of: Try to find an I2C adapter matching the parent 2019-02-05 13:41:49 +01:00
i2c-core-slave.c
i2c-core-smbus.c i2c: core-smbus: don't trace smbus_reply data on errors 2019-02-14 18:01:33 +01:00
i2c-core.h
i2c-dev.c i2c: expand minor range when registering chrdev region 2019-02-15 09:53:34 +01:00
i2c-mux.c
i2c-slave-eeprom.c
i2c-smbus.c
i2c-stub.c
Kconfig
Makefile