[PATCH 4.14 263/315] intel_th: Wait until port is in reset before programming it