[PATCH 5.10 089/563] tee: fix put order in teedev_close_context()