[PATCH] video: fbdev: via: Fix error in via_core_init()

2022-11-14 Thread Shang XiaoJing
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 a

Re: [PATCH] video: fbdev: via: Fix error in via_core_init()

2022-11-13 Thread Helge Deller
On 11/14/22 02:08, Shang XiaoJing wrote: 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,