diff options
author | Fabrice Gasnier <fabrice.gasnier@st.com> | 2018-03-13 17:23:06 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-03-18 01:33:21 +0300 |
commit | d58109dcf37fc9baec354385ec9fdcd8878d174d (patch) | |
tree | c6b710162241bef3d49f18f03dc59e501a445f3d /drivers/iio/adc/ad7793.c | |
parent | 7531cf59bfa082769887ec70c2029838ea139f11 (diff) | |
download | linux-d58109dcf37fc9baec354385ec9fdcd8878d174d.tar.xz |
iio: adc: stm32-dfsdm: fix sample rate for div2 spi clock
When channel clk source is set to "CLKOUT_F" or "CLKOUT_R" (e.g. div2),
sample rate is currently set to half the requested value.
Fixes: eca949800d2d ("IIO: ADC: add stm32 DFSDM support for PDM
microphone")
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Acked-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/ad7793.c')
0 files changed, 0 insertions, 0 deletions