[PATCH 5.12 041/292] tty: serial: fsl_lpuart: fix the potential risk of division or modulo by zero