[PATCH 4.19 159/287] tty: n_gsm: fix missing corner cases in gsmld_poll()