drm/i915/icl: Set TC type to unknown in the disconnection flow
authorJosé Roberto de Souza <jose.souza@intel.com>
Tue, 30 Oct 2018 21:57:47 +0000 (14:57 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 31 Oct 2018 22:25:02 +0000 (15:25 -0700)
commitb298ba5f51fca1c8204ec7448eb767fafb899ce6
tree58c63f422c9a9c1aee0bbc92e1172f714a3dac6d
parent3e037f9b0ab7b6ae40bf6ab14a5aead51b011717
drm/i915/icl: Set TC type to unknown in the disconnection flow

Otherwise it would be in a inconsistent state as port is disconnected
but with a valid tc type.

Also setting it to unknown will earlier return
icl_tc_phy_disconnect() for any future calls to
intel_digital_port_connected(), this way we don't need to check if
port is marked as safe everytime.

Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181030215750.28213-2-jose.souza@intel.com
drivers/gpu/drm/i915/intel_dp.c