diff options
author | Shang XiaoJing <shangxiaojing@huawei.com> | 2022-11-14 04:08:52 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-12-14 22:01:50 +0300 |
commit | 5886b130de953cfb8826f7771ec8640a79934a7f (patch) | |
tree | 4e7a626e201d8e396051d4b0a4e9c2c58c673303 /drivers/video/fbdev/smscufx.c | |
parent | ed359a464846b48f76ea6cc5cd8257e545ac97f4 (diff) | |
download | linux-5886b130de953cfb8826f7771ec8640a79934a7f.tar.xz |
fbdev: via: Fix error in via_core_init()
via_core_init() won't exit the driver when pci_register_driver() failed.
Exit the viafb-i2c and the viafb-gpio in failed path to prevent error.
VIA Graphics Integration Chipset framebuffer 2.4 initializing
Error: Driver 'viafb-i2c' is already registered, aborting...
Error: Driver 'viafb-gpio' is already registered, aborting...
Fixes: 7582eb9be85f ("viafb: Turn GPIO and i2c into proper platform devices")
Signed-off-by: Shang XiaoJing <shangxiaojing@huawei.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/video/fbdev/smscufx.c')
0 files changed, 0 insertions, 0 deletions