OSDN Git Service

spi: bcm63xx: extend error condition to `delay` as well
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Thu, 26 Sep 2019 10:51:46 +0000 (13:51 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 15 Oct 2019 10:47:06 +0000 (11:47 +0100)
commitc5751ba0f71e3afe62000a9505915093efa31bd6
treedbdca136731d9816cda5b970157f6f5944993069
parent3e2405f01f4a1e744f2bea28aa105d7f2257c893
spi: bcm63xx: extend error condition to `delay` as well

The driver errors out if `delay_usecs` is non-zero. This error condition
should be extended to the new `delay` field, to account for when it will be
used.

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