diff options
author | Fabrizio Lamarque <fl.scratchpad@gmail.com> | 2023-05-30 10:53:08 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-06-04 14:33:20 +0300 |
commit | f7d9e21dd274b97dc0a8dbc136a2ea8506063a96 (patch) | |
tree | 3690723261158d4e7aad472e2a9e8835fae77ebe /drivers/iio/adc/ad7280a.c | |
parent | 9e58e3a6f8e1c483c86a04903b7b7aa0923e4426 (diff) | |
download | linux-f7d9e21dd274b97dc0a8dbc136a2ea8506063a96.tar.xz |
iio: adc: ad7192: Fix internal/external clock selection
Fix wrong selection of internal clock when mclk is defined.
Resolve a logical inversion introduced in c9ec2cb328e3.
Fixes: c9ec2cb328e3 ("iio: adc: ad7192: use devm_clk_get_optional() for mclk")
Signed-off-by: Fabrizio Lamarque <fl.scratchpad@gmail.com>
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Cc: <Stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20230530075311.400686-3-fl.scratchpad@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/ad7280a.c')
0 files changed, 0 insertions, 0 deletions