diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2020-07-30 15:21:33 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-08-04 17:29:28 -0400 |
commit | 66f3db4ba62db74d0f6c5a0f872592f1a0ed7670 (patch) | |
tree | e6cbaa3982063b1cd60f29f5f016ba6e19a18488 /drivers/base/base.h | |
parent | c4dfb54986fd79ac992c56c5a31af9469d60d5cf (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>
Diffstat (limited to 'drivers/base/base.h')
0 files changed, 0 insertions, 0 deletions