Re: [PATCH v3] hwmon: Add AHT10 Temperature and Humidity Sensor Driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 07, 2021 at 08:40:14PM +0100, Johannes Cornelis Draaijer (datdenkikniet) wrote:
> This patch adds a hwmon driver for the AHT10 Temperature and
> Humidity sensor. It has a maximum sample rate, as the datasheet
> states that the chip may heat up if it is sampled more than once
> every two seconds.
> 
> Has been tested a to work on a raspberrypi0w
> 
> Changes from v2:
> Add reference to documentation to index.rst
> Properly align defines
> Clamp value instead of returning error
> Adjust return values
> Remove unnecessary print, check and comment
> 
> Major changes from initial patch:
> Removed devicetree/of references
> Removed aht10_reset, aht10_remove
> Add documentation
> Switch to hwmon channels, attributes and info
> More appropriate usage of mutex
> Return standard error codes
> Add checking statements for errors that are returned
> Other code improvements as suggested
> 
> Signed-off-by: Johannes Cornelis Draaijer (datdenkikniet) <jcdra1@xxxxxxxxx>

Applied.

Thanks,
Guenter



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux