Skip to content

Commit 07c55c9

Browse files
Yang Yinglianghdeller
authored andcommitted
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]> Signed-off-by: Helge Deller <[email protected]>
1 parent 58559df commit 07c55c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/video/fbdev/chipsfb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,7 @@ static int chipsfb_pci_init(struct pci_dev *dp, const struct pci_device_id *ent)
430430
err_release_fb:
431431
framebuffer_release(p);
432432
err_disable:
433+
pci_disable_device(dp);
433434
err_out:
434435
return rc;
435436
}

0 commit comments

Comments
 (0)