[PATCH 5.13 143/351] intel_th: Wait until port is in reset before programming it