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 de94d20 commit 26658ccCopy full SHA for 26658cc
drivers/iio/light/bh1730.c
@@ -319,19 +319,17 @@ static const struct iio_info bh1730_info = {
319
static const struct iio_chan_spec bh1730_channels[] = {
320
{
321
.type = IIO_LIGHT,
322
- .modified = 1,
323
- .channel2 = IIO_MOD_LIGHT_BOTH,
324
.info_mask_separate = BIT(IIO_CHAN_INFO_PROCESSED),
325
},
326
327
- .type = IIO_LIGHT,
+ .type = IIO_INTENSITY,
328
.modified = 1,
329
.channel2 = IIO_MOD_LIGHT_CLEAR,
330
.info_mask_separate = BIT(IIO_CHAN_INFO_RAW) |
331
BIT(IIO_CHAN_INFO_SCALE),
332
333
334
335
336
.channel2 = IIO_MOD_LIGHT_IR,
337
0 commit comments