]> 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)
commit8183b4544cbd8df991c044ed75250b673690059c
treea9b9e6bc2426c82b7454dd1af49abab288ea2ebd
parent753fff82e15424248de20a625e209de3f5c6e16f
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