[PATCH openEuler-5.10 14/97] staging: greybus: uart: fix tty use after free