diff options
| author | Chris Park <chris.park@amd.com> | 2022-08-23 12:21:52 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2022-09-13 14:32:59 -0400 |
| commit | 4f76da231826190658d19ec8d89ea8cd46fdfb7d (patch) | |
| tree | 6bac7d9300a3d1d67925d73163c295a6310b9aaf /lib/mpi/mpi-mod.c | |
| parent | 17529ea2acfa3e2118f5a9ee911e0daf2d88c13f (diff) | |
drm/amd/display: Correct I2C register offset
[Why]
I2C register name starts with 1, unlike other registers that start with
0. This creates a problem with the new register macro refactoring when
I2C HW objects are created in an array.
[How]
Correct I2C register offset by making a new macro to account for array
offset.
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Pavle Kotarac <Pavle.Kotarac@amd.com>
Signed-off-by: Chris Park <chris.park@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions
