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: e1ab9a468e3b ("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
..
2014-11-07 18:35:33 +01:00
2018-07-02 17:38:07 +02:00
2018-07-21 00:07:09 +02:00
2014-11-07 18:35:33 +01:00
2008-01-27 18:14:45 +01:00
2017-10-28 14:03:45 +02:00
2014-11-07 18:35:33 +01:00
2016-10-25 11:48:58 +02:00
2018-06-12 16:19:22 -07:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00