Re: [PATCH] i2c: axxia: disable clks in case of failure in probe

2016-09-24 Thread Wolfram Sang
On Fri, Sep 23, 2016 at 11:15:26AM +0200, Alexey Khoroshilov wrote: > axxia_i2c_probe() does not disable clock in case of failure > in i2c_add_adapter(). Also it ignores returned value from > clk_prepare_enable(). > > Found by Linux Driver Verification project (linuxtesting.org). > >

Re: [PATCH] i2c: axxia: disable clks in case of failure in probe

2016-09-24 Thread Wolfram Sang
On Fri, Sep 23, 2016 at 11:15:26AM +0200, Alexey Khoroshilov wrote: > axxia_i2c_probe() does not disable clock in case of failure > in i2c_add_adapter(). Also it ignores returned value from > clk_prepare_enable(). > > Found by Linux Driver Verification project (linuxtesting.org). > >

[PATCH] i2c: axxia: disable clks in case of failure in probe

2016-09-23 Thread Alexey Khoroshilov
axxia_i2c_probe() does not disable clock in case of failure in i2c_add_adapter(). Also it ignores returned value from clk_prepare_enable(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/i2c/busses/i2c-axxia.c

[PATCH] i2c: axxia: disable clks in case of failure in probe

2016-09-23 Thread Alexey Khoroshilov
axxia_i2c_probe() does not disable clock in case of failure in i2c_add_adapter(). Also it ignores returned value from clk_prepare_enable(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/i2c/busses/i2c-axxia.c | 14 -- 1

Re: [PATCH] i2c: axxia: disable clks in case of failure in probe

2016-09-22 Thread Wolfram Sang
On Fri, Sep 16, 2016 at 11:30:54PM +0300, Alexey Khoroshilov wrote: > axxia_i2c_probe() does not disable clock in case of failure > in i2c_add_adapter(). Also it ignores returned value from > clk_prepare_enable(). > > Found by Linux Driver Verification project (linuxtesting.org). > >

Re: [PATCH] i2c: axxia: disable clks in case of failure in probe

2016-09-22 Thread Wolfram Sang
On Fri, Sep 16, 2016 at 11:30:54PM +0300, Alexey Khoroshilov wrote: > axxia_i2c_probe() does not disable clock in case of failure > in i2c_add_adapter(). Also it ignores returned value from > clk_prepare_enable(). > > Found by Linux Driver Verification project (linuxtesting.org). > >

[PATCH] i2c: axxia: disable clks in case of failure in probe

2016-09-16 Thread Alexey Khoroshilov
axxia_i2c_probe() does not disable clock in case of failure in i2c_add_adapter(). Also it ignores returned value from clk_prepare_enable(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/i2c/busses/i2c-axxia.c

[PATCH] i2c: axxia: disable clks in case of failure in probe

2016-09-16 Thread Alexey Khoroshilov
axxia_i2c_probe() does not disable clock in case of failure in i2c_add_adapter(). Also it ignores returned value from clk_prepare_enable(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/i2c/busses/i2c-axxia.c | 7 ++- 1 file