[PATCH] fpga: socfpga-a10: disable clk on error in socfpga_a10_fpga_probe()

2017-12-08 Thread Alan Tull
From: Alexey Khoroshilov If fpga_mgr_register() fails, a clock is left undisabled. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Reviewed-by: Moritz Fischer Signed-off-by: Alan Tull --- drivers/fpga/socfpga-a10.c | 8 +++- 1 file change

Re: [PATCH] fpga: socfpga-a10: disable clk on error in socfpga_a10_fpga_probe()

2017-12-04 Thread Alan Tull
On Fri, Dec 1, 2017 at 7:21 PM, Moritz Fischer wrote: Hi Alexey, Thanks for the fix! Alan > Hi Alexey, > > On Fri, Dec 01, 2017 at 11:26:24PM +0300, Alexey Khoroshilov wrote: >> If fpga_mgr_register() fails, a clock is left undisabled. >> >> Found by Linux Driver Verification project (linuxtes

Re: [PATCH] fpga: socfpga-a10: disable clk on error in socfpga_a10_fpga_probe()

2017-12-01 Thread Moritz Fischer
Hi Alexey, On Fri, Dec 01, 2017 at 11:26:24PM +0300, Alexey Khoroshilov wrote: > If fpga_mgr_register() fails, a clock is left undisabled. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov Reviewed-by: Moritz Fischer > --- > drivers/fpga/

[PATCH] fpga: socfpga-a10: disable clk on error in socfpga_a10_fpga_probe()

2017-12-01 Thread Alexey Khoroshilov
If fpga_mgr_register() fails, a clock is left undisabled. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/fpga/socfpga-a10.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/fpga/socfpga-a10.c b/drive