]> git.baikalelectronics.ru Git - kernel.git/commit
drm/hibmc: Call drm_irq_uninstall() unconditionally
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 25 Jun 2021 08:21:57 +0000 (10:21 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 29 Jun 2021 09:03:24 +0000 (11:03 +0200)
commitaa359708f08c3ecee2d1c2b5faab6ea3fb878314
treecf5d76af4942135a598bbb1edb13a1e773882756
parentd615587e84658abacd7d5cf8556eaa9ba13aee14
drm/hibmc: Call drm_irq_uninstall() unconditionally

Remove the check around drm_irq_uninstall(). The same test is
done by the function internally. The tested state in irq_enabled
is considered obsolete and should not be used by KMS drivers.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Tian Tao <tiantao6@hisilicon.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210625082222.3845-3-tzimmermann@suse.de
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c