lkml.org 
[lkml]   [2015]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v4 0/3] I2C/SMBus: add support for Host Notify (in i2c_i801)
Date
Hi,

this is the v4 of this patch series which fixes the race we discovered this
week when accessing the registers in i2c_i801.

Compared to v3, i2c_handle_smbus_host_notify can now be called in a non sleeping
thread because a worker will be spawn later on.
That also means that we need to allocate the worker and some other structures,
so I introduced i2c_setup_smbus_host_notify().

Cheers,
Benjamin


Benjamin Tissoires (3):
i2c: add a protocol parameter to the alert callback
i2c-smbus: add SMBus Host Notify support
i2c: i801: add support of Host Notify

Documentation/i2c/smbus-protocol | 3 +
drivers/char/ipmi/ipmi_ssif.c | 6 +-
drivers/hwmon/lm90.c | 3 +-
drivers/i2c/busses/i2c-i801.c | 164 +++++++++++++++++++++++++++++----------
drivers/i2c/i2c-smbus.c | 113 +++++++++++++++++++++++++--
include/linux/i2c-smbus.h | 43 ++++++++++
include/linux/i2c.h | 10 ++-
include/uapi/linux/i2c.h | 1 +
8 files changed, 292 insertions(+), 51 deletions(-)

--
2.4.3



\
 
 \ /
  Last update: 2015-07-23 21:01    [W:0.189 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site