Skip to content

iio: atlas-ezo: Fix humidity channel read support

Nikhil Gautam linux-iio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1iio: atlas-ezo: Fix humidity channel read supportdrivers/iio/chemical/atlas-ezo-sensor.c+0 -37 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchJoshua CroftsMatt Ranostay
1/1R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/1] iio: atlas-ezo: Fix humidity channel read support

The atlas_ezo_read_raw() function currently rejects channels whose type is not IIO_CONCENTRATION. As a result, the relative humidity channel cannot access the raw or scale values, even though the driver defines support for IIO_HUMIDITYRELATIVE.

Remove the early channel type check so that both concentration and relative humidity channels can be handled by the existing mask-specific logic.

Nikhil Gautam (1):
iio: atlas-ezo: Fix humidity channel read support

 drivers/iio/chemical/atlas-ezo-sensor.c | 3 ---
 1 file changed, 3 deletions(-)
Signature · 1 line
2.39.5