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: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
This commit is contained in:
parent
397fd77c04
commit
2b712be72f
|
@ -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 @@
|
||||||
|
|
||||||
#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
|
||||||
|
|
Loading…
Reference in New Issue