projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58559df
)
fbdev: chipsfb: Add missing pci_disable_device() in chipsfb_pci_init()
author
Yang Yingliang
<yangyingliang@huawei.com>
Fri, 19 Aug 2022 08:57:52 +0000
(16:57 +0800)
committer
Helge Deller
<deller@gmx.de>
Wed, 24 Aug 2022 19:47:09 +0000
(21:47 +0200)
Add missing pci_disable_device() in error path in chipsfb_pci_init().
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/chipsfb.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/chipsfb.c
b/drivers/video/fbdev/chipsfb.c
index 393894af26f849981e71f22b22923e49d6de8d57..2b00a9d554fc06a9c898b58a6882d3b1b5a86e48 100644
(file)
--- a/
drivers/video/fbdev/chipsfb.c
+++ b/
drivers/video/fbdev/chipsfb.c
@@
-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;
}