aboutsummaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
authorTokunori Ikegami <ikegami@allied-telesis.co.jp>2018-08-07 21:32:18 -0400
committerGuenter Roeck <linux@roeck-us.net>2018-08-10 12:13:01 -0400
commit702afead45e15407bea94ccee16b801bbe9db13e (patch)
treebf2011d8695e1155a60cda04a6f3e21614950954 /net/socket.c
parentb36fb17159adad16a724f0d298a5b50269839ead (diff)
hwmon: (adt7475) Change update functions to add error handling
I2C SMBus sometimes returns error codes. In the error case, measurement values are updated incorrectly. The sensor application then generates warning log messages and SNMP traps. To prevent this, add error handling into the update functions. 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> [groeck: Update description] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions