Re: [PATCH] i2c: jz4780: Fix return value if probe fails

2015-07-09 Thread Wolfram Sang
On Tue, Jun 30, 2015 at 11:41:58AM +0800, Axel Lin wrote: Current code returns 0 if fails to read clock-frequency DT property, fix it. Also add checking return value of clk_prepare_enable and propagate return value of devm_request_irq. Signed-off-by: Axel Lin axel@ingics.com Applied to

[PATCH] i2c: jz4780: Fix return value if probe fails

2015-06-29 Thread Axel Lin
Current code returns 0 if fails to read clock-frequency DT property, fix it. Also add checking return value of clk_prepare_enable and propagate return value of devm_request_irq. Signed-off-by: Axel Lin axel@ingics.com --- drivers/i2c/busses/i2c-jz4780.c | 15 --- 1 file changed,