All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] hwmon: adt7475: Add error handling for update function
@ 2018-07-12  1:04 Tokunori Ikegami
  2018-07-12  1:04 ` [PATCH 1/5] hwmon: adt7475: Split device update function to measure and limits Tokunori Ikegami
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: Tokunori Ikegami @ 2018-07-12  1:04 UTC (permalink / raw)
  To: Jean Delvare; +Cc: Tokunori Ikegami, 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 isseu add error handling for the update function.

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

Tokunori Ikegami (5):
  hwmon: adt7475: Split device update function to measure and limits
  hwmon: adt7475: Change read and write functions to return error
  hwmon: adt7475: Change to use adt7475_read macro
  hwmon: adt7475: Change to use adt7475_write macro
  hwmon: adt7475: Change update functions to add error handling

 drivers/hwmon/adt7475.c | 369 +++++++++++++++++++++++++++++++++---------------
 1 file changed, 257 insertions(+), 112 deletions(-)

-- 
2.16.1


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

end of thread, other threads:[~2018-07-12 14:33 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-12  1:04 [PATCH 0/5] hwmon: adt7475: Add error handling for update function Tokunori Ikegami
2018-07-12  1:04 ` [PATCH 1/5] hwmon: adt7475: Split device update function to measure and limits Tokunori Ikegami
2018-07-12  2:00   ` Guenter Roeck
2018-07-12  3:01     ` IKEGAMI Tokunori
2018-07-12  1:04 ` [PATCH 2/5] hwmon: adt7475: Change read and write functions to return error Tokunori Ikegami
2018-07-12  1:04 ` [PATCH 3/5] hwmon: adt7475: Change to use adt7475_read macro Tokunori Ikegami
2018-07-12  1:50   ` Guenter Roeck
2018-07-12  2:52     ` IKEGAMI Tokunori
2018-07-12  3:41       ` Guenter Roeck
2018-07-12  4:01         ` IKEGAMI Tokunori
2018-07-12  4:23           ` Guenter Roeck
2018-07-12  6:22             ` IKEGAMI Tokunori
2018-07-12 13:47             ` IKEGAMI Tokunori
2018-07-12 14:05               ` Guenter Roeck
2018-07-12 14:33                 ` IKEGAMI Tokunori
2018-07-12  1:04 ` [PATCH 4/5] hwmon: adt7475: Change to use adt7475_write macro Tokunori Ikegami
2018-07-12  1:52   ` Guenter Roeck
2018-07-12  2:56     ` IKEGAMI Tokunori
2018-07-12  1:04 ` [PATCH 5/5] hwmon: adt7475: Change update functions to add error handling Tokunori Ikegami

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.