summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c
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 18:18:49 -0500
commita2a1f1eb06d73a45a60970c77403687918966fc6 (patch)
tree08684c68cde142dbd997567aa8bfa9935c631cdf /drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c
parent28fa24ad14e8f7d23c62283eaf9c79b4fd165c16 (diff)
downloadlinux-a2a1f1eb06d73a45a60970c77403687918966fc6.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/dc/core/dc_link_ddc.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c
index 7f904d55c1bc..81789191d4ec 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_ddc.c
@@ -586,7 +586,7 @@ bool dal_ddc_service_query_ddc_data(
bool dal_ddc_submit_aux_command(struct ddc_service *ddc,
struct aux_payload *payload)
{
- uint8_t retrieved = 0;
+ uint32_t retrieved = 0;
bool ret = 0;
if (!ddc)