[PATCH 4.19 356/421] intel_th: Wait until port is in reset before programming it