We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba27099 commit bd93f1eCopy full SHA for bd93f1e
drivers/iio/adc/ltc2387.c
@@ -225,10 +225,10 @@ static int ltc2387_setup(struct iio_dev *indio_dev)
225
if (device_property_present(dev, "adi,use-one-lane")) {
226
ltc->lane_mode = ONE_LANE;
227
return ltc2387_set_sampling_freq(ltc, 7.5 * MHz);
228
- } else {
229
- ltc->lane_mode = TWO_LANES;
230
- return ltc2387_set_sampling_freq(ltc, 15 * MHz);
231
}
+
+ ltc->lane_mode = TWO_LANES;
+ return ltc2387_set_sampling_freq(ltc, 15 * MHz);
232
233
234
static int ltc2387_read_raw(struct iio_dev *indio_dev,
0 commit comments