Home
last modified time | relevance | path

Searched hist:"5886 b130de953cfb8826f7771ec8640a79934a7f" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/video/fbdev/via/
H A Dvia-core.cdiff 5886b130de953cfb8826f7771ec8640a79934a7f Sun Nov 13 19:08:52 CST 2022 Shang XiaoJing <shangxiaojing@huawei.com> 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>