video: fbdev: chipsfb: add missing pci_disable_device() in chipsfb_pci_init()
PATCH 1/1 video: fbdev: chipsfb: add missing pci_disable_device() in chipsfb_pci_init()
Add missing pci_disable_device() in error path in chipsfb_pci_init().
Signed-off-by Yang Yingliang <[email protected]>
--- drivers/video/fbdev/chipsfb.c | 1 + 1 file changed, 1 insertion(+)
drivers/video/fbdev/chipsfb.c +1 -0
@@ -430,6 +430,7 @@ static int chipsfb_pci_init(struct pci_dev *dp, const struct pci_device_id *ent) err_release_fb:framebuffer_release (p); err_disable: +pci_disable_device (dp); err_out:return rc; }
Signature · 1 line
2.25.1
Quoted 3 lines · Yang Yingliang
Add missing
pci_disable_device()in error path inchipsfb_pci_init().Signed-off-by Yang Yingliang <[email protected]>
applied.
Thanks!
Helge
Quoted 16 lines
--- drivers/video/fbdev/chipsfb.c | 1 + 1 file changed, 1 insertion(+)drivers/video/fbdev/chipsfb.c +1
-0@@ -430,6 +430,7 @@ static int chipsfb_pci_init(struct pci_dev *dp, const struct pci_device_id *ent) err_release_fb:framebuffer_release (p); err_disable: +pci_disable_device (dp); err_out:return rc; }