diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2020-07-30 22:21:33 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-08-06 23:50:23 +0300 |
commit | 95a2687687f832a7f8fa32bdfe42a530796b71a2 (patch) | |
tree | ad54774089f5fb93434cc4e5824c6235fbe9f248 /lib/mpi/mpiutil.c | |
parent | d6a4e5e9fed072702a03f45584df7e74a8ba79ee (diff) | |
download | linux-95a2687687f832a7f8fa32bdfe42a530796b71a2.tar.xz |
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 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions