commit | 95a2687687f832a7f8fa32bdfe42a530796b71a2 | [log] [tgz] |
---|---|---|
author | Alex Deucher <alexander.deucher@amd.com> | Thu Jul 30 15:21:33 2020 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu Aug 06 16:50:23 2020 -0400 |
tree | ad54774089f5fb93434cc4e5824c6235fbe9f248 | |
parent | d6a4e5e9fed072702a03f45584df7e74a8ba79ee [diff] |
drm/amdgpu/smu: rework i2c adpater registration The i2c init/fini functions just register the i2c adapter. There is no need to call them during hw init/fini. They only need to be called once per driver init/fini. The previous behavior broke runtime pm because we unregistered the i2c adapter during suspend. Tested-by: Tom St Denis <tom.stdenis@amd.com> Reviewed-by: Kevin Wang <kevin1.wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>