summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/include
diff options
context:
space:
mode:
authorBrandon Syu <Brandon.Syu@amd.com>2019-11-08 11:26:06 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-12-05 16:29:19 -0500
commit769dbc16056769ed25904f4b7dfca35c0698c1cd (patch)
treedd7dcbd93feb839d9ea817264eea7cb73eb7f978 /drivers/gpu/drm/amd/display/include
parentfa11d3c9425354c4b47e40f34d29c5b0949fe4ce (diff)
downloadlinux-769dbc16056769ed25904f4b7dfca35c0698c1cd.tar.bz2
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: Brandon Syu <Brandon.Syu@amd.com> Reviewed-by: Charlene Liu <Charlene.Liu@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/include')
-rw-r--r--drivers/gpu/drm/amd/display/include/i2caux_interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/include/i2caux_interface.h b/drivers/gpu/drm/amd/display/include/i2caux_interface.h
index bb012cb1a9f5..c7fbb9c3ad6b 100644
--- a/drivers/gpu/drm/amd/display/include/i2caux_interface.h
+++ b/drivers/gpu/drm/amd/display/include/i2caux_interface.h
@@ -42,7 +42,7 @@ struct aux_payload {
bool write;
bool mot;
uint32_t address;
- uint8_t length;
+ uint32_t length;
uint8_t *data;
/*
* used to return the reply type of the transaction