diff options
author | Laurentiu Tudor <laurentiu.tudor@nxp.com> | 2019-04-01 13:14:37 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2019-04-06 17:54:28 +0200 |
commit | 3ace6891ce8bb9e1267358cb58f93b4fd8b72b69 (patch) | |
tree | 246699176d38baddbdb461c110e4ed0a66a1cc0f /scripts/gdb/linux/tasks.py | |
parent | 79a3aaa7b82e3106be97842dedfd8429248896e6 (diff) | |
download | linux-3ace6891ce8bb9e1267358cb58f93b4fd8b72b69.tar.gz linux-3ace6891ce8bb9e1267358cb58f93b4fd8b72b69.tar.bz2 linux-3ace6891ce8bb9e1267358cb58f93b4fd8b72b69.zip |
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>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions