[PATCH 4/6] drm/tegra: Handle I2C_WRITE_STATUS_UPDATE for address only writes

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Thu Aug 27 07:23:29 PDT 2015

From: Ville Syrjälä <ville.syrjala at linux.intel.com>

A address-only I2C_WRITE can't be replied with a short i2c ack, but I
suppose it could be replied with an i2c defer. So the code should be
prepared for an address-only I2C_WRITE_STATUS_UPDATE.

Cc: Thierry Reding <thierry.reding at gmail.com>
Cc: "Terje Bergström" <tbergstrom at nvidia.com>
Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
 drivers/gpu/drm/tegra/dpaux.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/tegra/dpaux.c b/drivers/gpu/drm/tegra/dpaux.c
index 1cc09ff..6aecb66 100644
--- a/drivers/gpu/drm/tegra/dpaux.c
+++ b/drivers/gpu/drm/tegra/dpaux.c
@@ -119,6 +119,7 @@ static ssize_t tegra_dpaux_transfer(struct drm_dp_aux *aux,
 	if (msg->size < 1) {
 		switch (msg->request & ~DP_AUX_I2C_MOT) {
 		case DP_AUX_I2C_WRITE:
 		case DP_AUX_I2C_READ:

More information about the dri-devel mailing list