diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2016-10-27 21:24:01 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-10-28 19:39:09 +0100 |
commit | e9e128a69af2b5fd2a4e01a59cc7e479ce9b8813 (patch) | |
tree | dbac5e95c4743c8e430479213895f1e3294ea4be /drivers/spi/spi-fsl-lib.h | |
parent | e3cd6cf425bf40061418edf7b295f654301446fe (diff) |
spi: fsl-espi: improve check for SPI_QE_CPU_MODE
SPI_QE_CPU_MODE doesn't exist for ESPI and is set by of_mpc8xxx_spi_probe
based on DT property "mode". This property is not defined for ESPI,
see Documentation/devicetree/bindings/spi/fsl-spi.txt.
So print an error message and bail out if SPI_QE_CPU_MODE is set.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-fsl-lib.h')
0 files changed, 0 insertions, 0 deletions