]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
firmware: google: Unregister driver_info on failure and exit in gsmi
authorArthur Heymans <arthur@aheymans.xyz>
Mon, 18 Nov 2019 10:19:30 +0000 (11:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jan 2020 20:46:48 +0000 (21:46 +0100)
commitc6e7af0515daca800d84b9cfa1bf19e53c4f5bc3
tree49e6836fd88e7abd787382b7c2a81aefb001698b
parentcae0970ee9c4527f189aac378c50e2f0ed020418
firmware: google: Unregister driver_info on failure and exit in gsmi

Fix a bug where the kernel module couldn't be loaded after unloading,
as the platform driver wasn't released on exit.

Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Link: https://lore.kernel.org/r/20191118101934.22526-3-patrick.rudolph@9elements.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/google/gsmi.c