[PATCH 1/4] tee: fix put order in teedev_close_context()