Re: [PATCH 09/44] drm/vboxvidoe: use managed pci functions

2020-04-14 Thread Daniel Vetter
On Wed, Apr 08, 2020 at 09:21:46AM +0200, Sam Ravnborg wrote: > On Fri, Apr 03, 2020 at 03:57:53PM +0200, Daniel Vetter wrote: > > Allows us to drop the cleanup code on the floor. > > > > Signed-off-by: Daniel Vetter > > Cc: Hans de Goede > > With this change we avoid calling pci_disable_device

Re: [PATCH 09/44] drm/vboxvidoe: use managed pci functions

2020-04-08 Thread Sam Ravnborg
On Fri, Apr 03, 2020 at 03:57:53PM +0200, Daniel Vetter wrote: > Allows us to drop the cleanup code on the floor. > > Signed-off-by: Daniel Vetter > Cc: Hans de Goede With this change we avoid calling pci_disable_device() twise in case vbox_mm_init() fails. Once in vbox_hw_fini() and once in th

[PATCH 09/44] drm/vboxvidoe: use managed pci functions

2020-04-03 Thread Daniel Vetter
Allows us to drop the cleanup code on the floor. Signed-off-by: Daniel Vetter Cc: Hans de Goede --- drivers/gpu/drm/vboxvideo/vbox_drv.c | 6 ++ drivers/gpu/drm/vboxvideo/vbox_main.c | 7 +-- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/vboxvideo/vbox