Re: [PATCH v2 3/7] staging:iio:ad2s90: Add max frequency check at probe

2018-11-19 Thread Ardelean, Alexandru
On Sun, 2018-11-18 at 02:25 -0200, Matheus Tavares wrote: > From: Alexandru Ardelean > > This patch adds a max frequency check at the beginning of ad2s90_probe > function so that when it is set to a value above 0.83Mhz, dev_err is > called with an appropriate message and -EINVAL is returned. >

Re: [PATCH v2 3/7] staging:iio:ad2s90: Add max frequency check at probe

2018-11-19 Thread Ardelean, Alexandru
On Sun, 2018-11-18 at 02:25 -0200, Matheus Tavares wrote: > From: Alexandru Ardelean > > This patch adds a max frequency check at the beginning of ad2s90_probe > function so that when it is set to a value above 0.83Mhz, dev_err is > called with an appropriate message and -EINVAL is returned. >

[PATCH v2 3/7] staging:iio:ad2s90: Add max frequency check at probe

2018-11-17 Thread Matheus Tavares
From: Alexandru Ardelean This patch adds a max frequency check at the beginning of ad2s90_probe function so that when it is set to a value above 0.83Mhz, dev_err is called with an appropriate message and -EINVAL is returned. The defined limit is 0.83Mhz instead of 2Mhz, which is the chip's max

[PATCH v2 3/7] staging:iio:ad2s90: Add max frequency check at probe

2018-11-17 Thread Matheus Tavares
From: Alexandru Ardelean This patch adds a max frequency check at the beginning of ad2s90_probe function so that when it is set to a value above 0.83Mhz, dev_err is called with an appropriate message and -EINVAL is returned. The defined limit is 0.83Mhz instead of 2Mhz, which is the chip's max