mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 22:37:45 -04:00
Make sure to free the i2c adapter on the error exit path.
Signed-off-by: Laurentiu Tudor <[email protected]>
Reviewed-by: Mukesh Ojha <[email protected]>
Reviewed-by: Uwe Kleine-König <[email protected]>
Fixes: e1ab9a468e ("i2c: imx: improve the error handling in i2c_imx_dma_request()")
Signed-off-by: Wolfram Sang <[email protected]>