tty: xuartps: Dynamically adjust to input frequency changes