Revision 09f02902eb9cd41d4b88f4a5b93696297b57a3b0 authored by Heiner Kallweit on 03 March 2024, 10:45:22 UTC, committed by Wolfram Sang on 08 March 2024, 09:10:26 UTC
i801_probe_optional_slaves() is called before i801_add_mux().
This results in mux_pdev being checked before it's set by
i801_add_mux(). Fix this by changing the order of the calls.
I consider this safe as I see no dependencies.

Fixes: 80e56b86b59e ("i2c: i801: Simplify class-based client device instantiation")
Cc: stable@vger.kernel.org
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
1 parent 90d35da
History
File Mode Size
Kconfig -rw-r--r-- 4.3 KB
Makefile -rw-r--r-- 823 bytes
font_10x18.c -rw-r--r-- 140.7 KB
font_6x10.c -rw-r--r-- 60.9 KB
font_6x11.c -rw-r--r-- 66.7 KB
font_6x8.c -rw-r--r-- 45.9 KB
font_7x14.c -rw-r--r-- 79.3 KB
font_8x16.c -rw-r--r-- 94.0 KB
font_8x8.c -rw-r--r-- 49.9 KB
font_acorn_8x8.c -rw-r--r-- 15.8 KB
font_mini_4x6.c -rw-r--r-- 54.6 KB
font_pearl_8x8.c -rw-r--r-- 54.7 KB
font_sun12x22.c -rw-r--r-- 181.6 KB
font_sun8x16.c -rw-r--r-- 22.1 KB
font_ter16x32.c -rw-r--r-- 100.8 KB
fonts.c -rw-r--r-- 3.0 KB

back to top