Files
linux/drivers
Hugo Villeneuve 5c0471daa8 serial: sc16is7xx: improve do/while loop in sc16is7xx_irq()
commit d5078509c8b06c5c472a60232815e41af81c6446 upstream.

Simplify and improve readability by replacing while(1) loop with
do {} while, and by using the keep_polling variable as the exit
condition, making it more explicit.

Fixes: 8344498721 ("sc16is7xx: Fix for multi-channel stall")
Cc:  <stable@vger.kernel.org>
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://lore.kernel.org/r/20231221231823.2327894-6-hugo@hugovil.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-01-31 16:18:57 -08:00
..
2023-08-22 15:50:57 +02:00
2023-08-24 16:20:30 -07:00
2023-11-20 11:59:19 +01:00
2024-01-31 16:18:49 -08:00
2024-01-20 11:51:46 +01:00
2024-01-20 11:51:48 +01:00
2023-08-21 13:27:44 +02:00