Patch "clk: samsung: clk-exynos-audss: Fix module autoload" has been added to the 4.8-stable tree
Subsystems (4)
This is a note to let you know that I've just added the patch titled
clk: samsung: clk-exynos-audss: Fix module autoload
to the 4.8-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
clk-samsung-clk-exynos-audss-fix-module-autoload.patch
and it can be found in the queue-4.8 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
34b89b2967f284937be6759936ef3dc4d3aff2d0Mon Sep 17 00:00:00 2001
From: Javier Martinez Canillas <[email protected]>
Date: Sun, 16 Oct 2016 10:45:07 -0300
Subject: clk: samsung: clk-exynos-audss: Fix module autoload
From: Javier Martinez Canillas <[email protected]>
commit 34b89b2967f284937be6759936ef3dc4d3aff2d0 upstream.
If the driver is built as a module, autoload won't work because the module alias information is not filled. So user-space can't match the registered device with the corresponding module.
Export the module alias information using the MODULE_DEVICE_TABLE() macro.
Before this patch:
$ modinfo drivers/clk/samsung/clk-exynos-audss.ko | grep alias alias: platform:exynos-audss-clk
After this patch:
$ modinfo drivers/clk/samsung/clk-exynos-audss.ko | grep alias alias: platform:exynos-audss-clk alias: of:N*T*Csamsung,exynos5420-audss-clockC* alias: of:N*T*Csamsung,exynos5420-audss-clock alias: of:N*T*Csamsung,exynos5410-audss-clockC* alias: of:N*T*Csamsung,exynos5410-audss-clock alias: of:N*T*Csamsung,exynos5250-audss-clockC* alias: of:N*T*Csamsung,exynos5250-audss-clock alias: of:N*T*Csamsung,exynos4210-audss-clockC* alias: of:N*T*Csamsung,exynos4210-audss-clock
--- drivers/clk/samsung/clk-exynos-audss.c | 1 + 1 file changed, 1 insertion(+)
drivers/clk/samsung/clk-exynos-audss.c +1 -0
@@ -82,6 +82,7 @@ static const struct of_device_id exynos_ .data = (void *)TYPE_EXYNOS5420, }, {}, }; +MODULE_DEVICE_TABLE (of, exynos_audss_clk_of_match);static void exynos_audss_clk_teardown (void ) {
Patches currently in stable-queue which might be from [email protected] are
queue-4.8/clk-samsung-clk-exynos-audss-fix-module-autoload.patch