aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2024-03-03 10:45:22 +0000
committerWolfram Sang <[email protected]>2024-03-08 09:10:26 +0000
commit09f02902eb9cd41d4b88f4a5b93696297b57a3b0 (patch)
tree76436a9c6dce0ce87de3b08b7160c182cd306186 /drivers/fpga/tests/fpga-mgr-test.c
parentLinux 6.8-rc7 (diff)
downloadkernel-09f02902eb9cd41d4b88f4a5b93696297b57a3b0.tar.gz
kernel-09f02902eb9cd41d4b88f4a5b93696297b57a3b0.zip
i2c: i801: Fix using mux_pdev before it's set
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: [email protected] Signed-off-by: Heiner Kallweit <[email protected]> Reviewed-by: Andi Shyti <[email protected]> Signed-off-by: Andi Shyti <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions