Commit 769dbc16 authored by Brandon Syu's avatar Brandon Syu Committed by Alex Deucher

drm/amd/display: fixed that I2C over AUX didn't read data issue

[Why]
The variable mismatch assignment error.

[How]
To use uint32_t replace it.
Signed-off-by: default avatarBrandon Syu <Brandon.Syu@amd.com>
Reviewed-by: default avatarCharlene Liu <Charlene.Liu@amd.com>
Acked-by: default avatarLeo Li <sunpeng.li@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent fa11d3c9
...@@ -589,7 +589,7 @@ bool dal_ddc_service_query_ddc_data( ...@@ -589,7 +589,7 @@ bool dal_ddc_service_query_ddc_data(
bool dal_ddc_submit_aux_command(struct ddc_service *ddc, bool dal_ddc_submit_aux_command(struct ddc_service *ddc,
struct aux_payload *payload) struct aux_payload *payload)
{ {
uint8_t retrieved = 0; uint32_t retrieved = 0;
bool ret = 0; bool ret = 0;
if (!ddc) if (!ddc)
......
...@@ -42,7 +42,7 @@ struct aux_payload { ...@@ -42,7 +42,7 @@ struct aux_payload {
bool write; bool write;
bool mot; bool mot;
uint32_t address; uint32_t address;
uint8_t length; uint32_t length;
uint8_t *data; uint8_t *data;
/* /*
* used to return the reply type of the transaction * used to return the reply type of the transaction
......
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