Re: [PATCH v2] i2c: imx: don't leak the i2c adapter on error
From: Wolfram Sang
Date: Wed Apr 03 2019 - 16:48:01 EST
On Mon, Apr 01, 2019 at 01:14:37PM +0300, laurentiu.tudor@xxxxxxx wrote:
> From: Laurentiu Tudor <laurentiu.tudor@xxxxxxx>
>
> Make sure to free the i2c adapter on the error exit path.
>
> Signed-off-by: Laurentiu Tudor <laurentiu.tudor@xxxxxxx>
> Reviewed-by: Mukesh Ojha <mojha@xxxxxxxxxxxxxx>
> Reviewed-by: Uwe Kleine-Konig <u.kleine-koenig@xxxxxxxxxxxxxx>
> Fixes: e1ab9a468e3b ("i2c: imx: improve the error handling in i2c_imx_dma_request()")
Applied to for-current, thanks!
Attachment:
signature.asc
Description: PGP signature