fsi: Prevent multiple concurrent rescans
commit9840fcd8cc43bfba486a53b4461044f1a1189cdc
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 21 Jun 2018 08:00:05 +0000 (21 18:00 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 26 Jul 2018 23:58:12 +0000 (27 09:58 +1000)
treea2ba69532326e0b578283f277c741b4c7de7a21f
parentd1dcd678257603e71cf3f3d84c70e2b6f0f14bb8
fsi: Prevent multiple concurrent rescans

The bus scanning process isn't terribly good at parallel attempts
at rescanning the same bus. Let's have a per-master mutex protecting
the scanning process.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/fsi/fsi-core.c
drivers/fsi/fsi-master.h