Re: [PATCH] spi: spi-axi: Free resources on error path

2017-01-08 Thread Lars-Peter Clausen
On 01/09/2017 01:02 AM, Christophe JAILLET wrote: > We should go to 'err_put_master' here instead of returning directly. > Otherwise a call to 'spi_master_put' is missing. > > Signed-off-by: Christophe JAILLET Thanks. Acked-by: Lars-Peter Clausen > --- > drivers/spi/spi-axi-spi-engine.c | 3

[PATCH] spi: spi-axi: Free resources on error path

2017-01-08 Thread Christophe JAILLET
We should go to 'err_put_master' here instead of returning directly. Otherwise a call to 'spi_master_put' is missing. Signed-off-by: Christophe JAILLET --- drivers/spi/spi-axi-spi-engine.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi-axi-spi-engine.c b/dr