commit | 9211a441e60686eec2ebd8f7bd65c4f780416404 | [log] [tgz] |
---|---|---|
author | Eddie James <eajames@linux.ibm.com> | Wed Sep 09 17:28:57 2020 -0500 |
committer | Mark Brown <broonie@kernel.org> | Thu Sep 17 19:31:43 2020 +0100 |
tree | 68885d300b39a1055a49a47d87c5a823453051b1 | |
parent | 49c9fc1d7c101eceaddb655e4f0e062b0c8f403b [diff] |
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. Signed-off-by: Eddie James <eajames@linux.ibm.com> Signed-off-by: Joel Stanley <joel@jms.id.au> Link: https://lore.kernel.org/r/20200909222857.28653-7-eajames@linux.ibm.com Signed-off-by: Mark Brown <broonie@kernel.org>