drm/amd/display: fix bug where we are creating bogus i2c aux
authorTony Cheng <tony.cheng@amd.com>
Fri, 15 Jun 2018 21:53:35 +0000 (17:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Jul 2018 19:47:25 +0000 (14:47 -0500)
commit4981a66144fa1e05c54164ea2ef4255451b62d78
treebf709b89857988c9d5b12914937de83e442576c9
parentb81e5aa39f66fa159beb449c47220cfb483f0d5f
drm/amd/display: fix bug where we are creating bogus i2c aux

[WHY]
we were using  6 instances based on i2caux_dce110.c

[HOW]
pass in how many instances to ctor

Signed-off-by: Tony Cheng <tony.cheng@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/i2caux/dce100/i2caux_dce100.c
drivers/gpu/drm/amd/display/dc/i2caux/dce110/i2caux_dce110.c
drivers/gpu/drm/amd/display/dc/i2caux/dce110/i2caux_dce110.h
drivers/gpu/drm/amd/display/dc/i2caux/dce112/i2caux_dce112.c
drivers/gpu/drm/amd/display/dc/i2caux/dce120/i2caux_dce120.c
drivers/gpu/drm/amd/display/dc/i2caux/dcn10/i2caux_dcn10.c