]> git.baikalelectronics.ru Git - kernel.git/commit
spi: spi-falcon: extend warning to `delay` as well
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Thu, 26 Sep 2019 10:51:45 +0000 (13:51 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 15 Oct 2019 10:46:57 +0000 (11:46 +0100)
commitb97471aa398ca9ca312f5506b8c5d57e305bfa31
treea9b9e6bc2426c82b7454dd1af49abab288ea2ebd
parenta4500ea454e004128f55570e569b4a705960de7d
spi: spi-falcon: extend warning to `delay` as well

The WARN_ON macro prints a warning in syslog if `delay_usecs` is non-zero.
However, with the new intermediate `delay`, the warning should also be
printed.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20190926105147.7839-18-alexandru.ardelean@analog.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-falcon.c