Re: [PATCH] iio: adc: xilinx: Handle return value of clk_prepare_enable

2017-05-28 Thread Jonathan Cameron
On Fri, 26 May 2017 12:07:41 +0530 Arvind Yadav wrote: > clk_prepare_enable() can fail here and we must check its return value. > > Signed-off-by: Arvind Yadav Straight forward looking so I've applied this to the togreg branch of iio.git

Re: [PATCH] iio: adc: xilinx: Handle return value of clk_prepare_enable

2017-05-28 Thread Jonathan Cameron
On Fri, 26 May 2017 12:07:41 +0530 Arvind Yadav wrote: > clk_prepare_enable() can fail here and we must check its return value. > > Signed-off-by: Arvind Yadav Straight forward looking so I've applied this to the togreg branch of iio.git and pushed it out as testing for the autobuilders to

[PATCH] iio: adc: xilinx: Handle return value of clk_prepare_enable

2017-05-26 Thread Arvind Yadav
clk_prepare_enable() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- drivers/iio/adc/xilinx-xadc-core.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/iio/adc/xilinx-xadc-core.c

[PATCH] iio: adc: xilinx: Handle return value of clk_prepare_enable

2017-05-26 Thread Arvind Yadav
clk_prepare_enable() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- drivers/iio/adc/xilinx-xadc-core.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/iio/adc/xilinx-xadc-core.c b/drivers/iio/adc/xilinx-xadc-core.c index