]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteb844e8934db39820be895abdb39b87ae77fceda
treea681f03e67d1f5ba920815588a84f829aa0ed083
parentf1ca2c0f64592762c4847a83fbaddf4629e83654
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: edd3931c523051db ("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