drm/amd/display: initialize i2c speed if not initialized in dcnxxx__resource.c
authorBrendan Steve Leder <brendanSteve.Leder@amd.com>
Thu, 7 Jan 2021 20:17:29 +0000 (15:17 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Feb 2021 17:08:31 +0000 (12:08 -0500)
commit91501d0affc2e34598e6514990614ed741de567b
treec744a40a787fb253dd876f24fbe82da6b9b4458f
parenta71c76ac7eea41cc45c2582f3dcf465e4ce2bca3
drm/amd/display: initialize i2c speed if not initialized in dcnxxx__resource.c

Some dcnxxx__resource.c do not initialize the i2c speed; this patch adds
the required initialization at dc_construct().

Signed-off-by: Brendan Steve Leder <brendanSteve.Leder@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c