[PATCH openEuler-1.0-LTS 1/1] staging: greybus: uart: fix tty use after free