On Thu, Feb 9, 2012 at 20:14, Yufeng Shen miletus@chromium.org wrote:
GMBUS has several ports and each has it's own corresponding I2C adpater. When multiple I2C adapters call gmbus_xfer() at the same time there is a race condition in using the underlying GMBUS controller. Fixing this by adding a mutex lock when calling gmbus_xfer().
Signed-off-by: Yufeng Shen miletus@chromium.org
Looks correct to me. Thanks!
Reviewed-by: Eugeni Dodonov eugeni.dodonov@intel.com