[PATCH 0/4] serial: max310x: probe fixes

From: Hugo Villeneuve
Date: Tue Jan 16 2024 - 17:27:18 EST


From: Hugo Villeneuve <hvilleneuve@xxxxxxxxxxxx>

Hello,
this patch series brings a few fixes in the probing of the max310x driver.

Patches 1 to 3 could be merged if deemed necessary and to facilitate stable
kernel backporting.

Note that I do not have access to a board with an actual max310x IC on it,
but I have tested it by using i2c-stub to simulate the four ports on a
virtual max14830 device.

Thank you.

Hugo Villeneuve (4):
serial: max310x: set default value when reading clock ready bit
serial: max310x: improve crystal stable clock detection
serial: max310x: fail probe if clock crystal is unstable
serial: max310x: prevent infinite while() loop in port startup

drivers/tty/serial/max310x.c | 53 +++++++++++++++++++++++++++++-------
1 file changed, 43 insertions(+), 10 deletions(-)


base-commit: 0c84bea0cabc4e2b98a3de88eeb4ff798931f056
--
2.39.2