diff options
author | Shradha Gupta <shradhagupta@linux.microsoft.com> | 2024-02-02 09:43:44 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2024-02-28 17:07:22 +0300 |
commit | 048a36d8a6085bbd8ab9e5794b713b92ac986450 (patch) | |
tree | 3b7afa63a20eb887eaa35a7f987af325e42c97b2 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
parent | 5abffb66d12bcac84bf7b66389c571b8bb6e82bd (diff) | |
download | linux-048a36d8a6085bbd8ab9e5794b713b92ac986450.tar.xz |
drm: Check polling initialized before enabling in drm_helper_probe_single_connector_modes
In function drm_helper_probe_single_connector_modes() when we enable
polling again, if it is already uninitialized, a warning is reported.
This patch fixes the warning message by checking if poll is initialized
before enabling it.
Reported-by: kernel test robot <oliver.sang@intel.com>
Closes: https://lore.kernel.org/oe-lkp/202401191128.db8423f1-oliver.sang@intel.com
Signed-off-by: Shradha Gupta <shradhagupta@linux.microsoft.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1706856224-9725-1-git-send-email-shradhagupta@linux.microsoft.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions