]> git.baikalelectronics.ru Git - kernel.git/commit
staging: vboxvideo: Fix IRQs no longer working
authorHans de Goede <hdegoede@redhat.com>
Mon, 10 Sep 2018 18:30:38 +0000 (20:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Sep 2018 16:39:54 +0000 (18:39 +0200)
commitf23805bf1a6b06ea8c82c4dde549403e22ba97c6
tree6887d65d1e9afb1eaac181a12d69a7a342c1a11c
parent2e29c1004b1e136cf7d85e154214b82cbc6df7b7
staging: vboxvideo: Fix IRQs no longer working

Commit cb967c382452 ("staging: vboxvideo: Update driver to use
drm_dev_register.") replaced the obsolere drm_get_pci_dev() with
normal pci probe and remove functions.

But the new vbox_pci_probe() is missing a pci_enable_device() call,
causing interrupts to not be delivered. This causes resizes of the
vm window to not get seen by the drm/kms code.

This commit adds the missing pci_enable_device() call, fixing this.

Fixes: cb967c382452 ("staging: vboxvideo: Update driver to use ...")
Cc: Fabio Rafael da Rosa <fdr@pid42.net>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Nicholas Mc Guire <der.herr@hofr.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vboxvideo/vbox_drv.c