]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: spi-fsl-lpspi: fsl_lpspi_write_tx_fifo(): simplify while() loop check
authorMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 19 Mar 2026 16:55:44 +0000 (17:55 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 7 Apr 2026 10:54:32 +0000 (11:54 +0100)
commit4ef7fa7bca5728a3f61c28da73d7714ed1f303a6
tree34616e7f5bb3b6e87c29e0d1a17cfc4b5691cd01
parentb326c71d4e6f9623ee137bccf8205e4327aa1914
spi: spi-fsl-lpspi: fsl_lpspi_write_tx_fifo(): simplify while() loop check

To simplify the loop check. Combine both conditions of the while() and the
directly following if() into the while().

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Link: https://patch.msgid.link/20260319-spi-fsl-lpspi-cleanups-v2-10-02b56c5d44a8@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-lpspi.c