Re: [PATCH] iio: adc: vf610_adc: Fix division by zero error

2015-10-31 Thread Jonathan Cameron
On 26/10/15 16:21, Stefan Agner wrote: > On 2015-10-25 05:20, Jonathan Cameron wrote: >> On 19/10/15 08:43, Sanchayan Maity wrote: >>> In case the fsl,adck-max-frequency property is not present in >>> the device tree, a division by zero error results during the >>> probe call on kernel boot (see be

Re: [PATCH] iio: adc: vf610_adc: Fix division by zero error

2015-10-26 Thread Stefan Agner
On 2015-10-25 05:20, Jonathan Cameron wrote: > On 19/10/15 08:43, Sanchayan Maity wrote: >> In case the fsl,adck-max-frequency property is not present in >> the device tree, a division by zero error results during the >> probe call on kernel boot (see below). This patch fixes it and >> also restore

Re: [PATCH] iio: adc: vf610_adc: Fix division by zero error

2015-10-26 Thread Duan Andy
From: Sanchayan Maity Sent: Monday, October 19, 2015 3:43 PM >To: ji...@kernel.org >Cc: ste...@agner.ch; Duan Fugang-B38611; linux-...@vger.kernel.org; >linux->ker...@vger.kernel.org; Sanchayan Maity >Subject: [PATCH] iio: adc: vf610_adc: Fix division by zero error > >In

Re: [PATCH] iio: adc: vf610_adc: Fix division by zero error

2015-10-25 Thread Jonathan Cameron
On 19/10/15 08:43, Sanchayan Maity wrote: > In case the fsl,adck-max-frequency property is not present in > the device tree, a division by zero error results during the > probe call on kernel boot (see below). This patch fixes it and > also restores device tree compatibility in case kernels are > b

[PATCH] iio: adc: vf610_adc: Fix division by zero error

2015-10-19 Thread Sanchayan Maity
In case the fsl,adck-max-frequency property is not present in the device tree, a division by zero error results during the probe call on kernel boot (see below). This patch fixes it and also restores device tree compatibility in case kernels are booting with old device trees without this property s