diff options
author | Eddie James <eajames@linux.ibm.com> | 2020-07-31 01:03:29 +0300 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2020-08-13 06:48:38 +0300 |
commit | 389874ec96e287a44fdd20885c2ba0340b452d48 (patch) | |
tree | e6744dca0bc2c178f92e0ee1940e1ae93bab670c /lib/mpi/mpiutil.c | |
parent | e032b28c2d60597ddea874c3904851d44dd3771f (diff) | |
download | linux-389874ec96e287a44fdd20885c2ba0340b452d48.tar.xz |
spi: fsi: Check mux status before transfers
The SPI controllers are not accessible if the mux isn't set. Therefore,
check the mux status before starting a transfer and fail out if it isn't
set.
OpenBMC-Staging-Count: 1
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions