]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: google: Release devices before unregistering the bus
authorPatrick Rudolph <patrick.rudolph@9elements.com>
Mon, 18 Nov 2019 10:19:29 +0000 (11:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Dec 2022 10:23:00 +0000 (11:23 +0100)
commite7cd959d3d63b4f6e8894b700d1c6a314c1015f3
treea70102b70f3f1b6f2287e1caaaa1d8323fc028fd
parentf3246cc9bb6bb61415df036aa6834ca5c888781e
firmware: google: Release devices before unregistering the bus

[ Upstream commit 99b41724df4607535ceacd3b79a55310a2b2825e ]

Fix a bug where the kernel module can't be loaded after it has been
unloaded as the devices are still present and conflicting with the
to be created coreboot devices.

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Link: https://lore.kernel.org/r/20191118101934.22526-2-patrick.rudolph@9elements.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Stable-dep-of: 65946690ed8d ("firmware: coreboot: Register bus in module init")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/firmware/google/coreboot_table.c