Commit 2b712be7 authored by Ville Syrjälä's avatar Ville Syrjälä Committed by Daniel Vetter

drm/dp: s/I2C_STATUS/I2C_WRITE_STATUS_UPDATE/

Rename the I2C_STATUS request to I2C_WRITE_STATUS_UPDATE to match the
spec.
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
parent 397fd77c
...@@ -149,7 +149,7 @@ static ssize_t tegra_dpaux_transfer(struct drm_dp_aux *aux, ...@@ -149,7 +149,7 @@ static ssize_t tegra_dpaux_transfer(struct drm_dp_aux *aux,
break; break;
case DP_AUX_I2C_STATUS: case DP_AUX_I2C_WRITE_STATUS_UPDATE:
if (msg->request & DP_AUX_I2C_MOT) if (msg->request & DP_AUX_I2C_MOT)
value |= DPAUX_DP_AUXCTL_CMD_MOT_RQ; value |= DPAUX_DP_AUXCTL_CMD_MOT_RQ;
else else
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
#define DP_AUX_I2C_WRITE 0x0 #define DP_AUX_I2C_WRITE 0x0
#define DP_AUX_I2C_READ 0x1 #define DP_AUX_I2C_READ 0x1
#define DP_AUX_I2C_STATUS 0x2 #define DP_AUX_I2C_WRITE_STATUS_UPDATE 0x2
#define DP_AUX_I2C_MOT 0x4 #define DP_AUX_I2C_MOT 0x4
#define DP_AUX_NATIVE_WRITE 0x8 #define DP_AUX_NATIVE_WRITE 0x8
#define DP_AUX_NATIVE_READ 0x9 #define DP_AUX_NATIVE_READ 0x9
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment