OSDN Git Service

spi: bcm2835aux: warn in dmesg that native cs is not really supported
authorMartin Sperl <kernel@martin.sperl.org>
Sat, 30 Mar 2019 09:31:03 +0000 (09:31 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 3 Apr 2019 04:31:51 +0000 (11:31 +0700)
commit519f2c22a6c71a9fefed1166c36d48246e010514
treea681f03e67d1f5ba920815588a84f829aa0ed083
parent509c583620e9053e43d611bf1614fc3d3abafa96
spi: bcm2835aux: warn in dmesg that native cs is not really supported

From personal bad experience (even as the author of the original driver)
it shows that native-cs is "somewhat" supported by the spi bus driver
when using a buggy device tree.

So make sure that the driver is warning in dmesg about this fact
that we are running in a not supported mode that may have surprizing
limitations.

Fixes: 1ea29b39f4c812ec ("spi: bcm2835aux: add bcm2835 auxiliary spi device...")
Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-bcm2835aux.c