Linux Hardware Monitor development
 help / color / mirror / Atom feed
* [PATCH v3 0/4] hwmon: (adt7475) Add error handling for update function
@ 2018-08-08  1:32 Tokunori Ikegami
  2018-08-08  1:32 ` [PATCH v3 1/4] hwmon: (adt7475) Split device update function to measure and limits Tokunori Ikegami
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Tokunori Ikegami @ 2018-08-08  1:32 UTC (permalink / raw)
  To: Jean Delvare; +Cc: Tokunori Ikegami, Guenter Roeck, Chris Packham, linux-hwmon

Currently the device update function does not care the I2C SMBus error.
This causes a spurious sensor warining detection by sensor application.
To prevent this issue add error handling for the update function.
Also change the show functions to return error pointer value.

Signed-off-by: Tokunori Ikegami <ikegami@allied-telesis.co.jp>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Chris Packham <chris.packham@alliedtelesis.co.nz>
Cc: linux-hwmon@vger.kernel.org

Tokunori Ikegami (4):
  hwmon: (adt7475) Split device update function to measure and limits
  hwmon: (adt7475) Change valid parameter to bool type
  hwmon: (adt7475) Change update functions to add error handling
  hwmon: (adt7475) Change show functions to return error data correctly

 drivers/hwmon/adt7475.c | 340 ++++++++++++++++++++++++++++++++++--------------
 1 file changed, 244 insertions(+), 96 deletions(-)

-- 
2.16.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-08-11  1:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-08  1:32 [PATCH v3 0/4] hwmon: (adt7475) Add error handling for update function Tokunori Ikegami
2018-08-08  1:32 ` [PATCH v3 1/4] hwmon: (adt7475) Split device update function to measure and limits Tokunori Ikegami
2018-08-08  1:32 ` [PATCH v3 2/4] hwmon: (adt7475) Change valid parameter to bool type Tokunori Ikegami
2018-08-08  1:32 ` [PATCH v3 3/4] hwmon: (adt7475) Change update functions to add error handling Tokunori Ikegami
2018-08-08  1:32 ` [PATCH v3 4/4] hwmon: (adt7475) Change show functions to return error data correctly Tokunori Ikegami
2018-08-10 16:13 ` [PATCH v3 0/4] hwmon: (adt7475) Add error handling for update function Guenter Roeck
2018-08-10 23:22   ` IKEGAMI Tokunori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox