From 825642455367e5498da82a8044dd345ac7869c8d Mon Sep 17 00:00:00 2001 From: "Chew, Chiau Ee" Date: Fri, 21 Jun 2013 15:05:28 +0800 Subject: [PATCH] i2c: designware: Manually set RESTART bit between messages If both IC_EMPTYFIFO_HOLD_MASTER_EN and IC_RESTART_EN are set to 1, the Designware I2C controller doesn't generate RESTART unless user specifically requests it by setting RESTART bit in IC_DATA_CMD register. Since IC_EMPTYFIFO_HOLD_MASTER_EN setting can't be detected from hardware register, we must always manually set the restart bit between messages. Signed-off-by: Chew, Chiau Ee Signed-off-by: Wolfram Sang --- Reading git-format-patch failed