]> git.baikalelectronics.ru Git - kernel.git/commit
usb: typec: mux: intel_pmc_mux: Fix DP alternate mode entry
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Fri, 29 May 2020 13:17:53 +0000 (16:17 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Jun 2020 08:40:57 +0000 (10:40 +0200)
commit00578c97390b683f7ddea1079ed6c62b8e679cc3
treed2d5c864663dd513c81c2cf83987c169ef687a36
parent752e0514b01b8012ef69d38a3e03afbe45afbe35
usb: typec: mux: intel_pmc_mux: Fix DP alternate mode entry

The PMC needs to be notified separately about HPD (hotplug
detected) signal being high after mode entry. There is a bit
"HPD High" in the Alternate Mode Request that the driver
already sets, but that bit is only valid when the
DisplayPort Alternate Mode is directly entered from
disconnected state.

Fixes: 73c3cbcf3ff1 ("usb: typec: mux: intel: Fix DP_HPD_LVL bit field")
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Cc: stable <stable@vger.kernel.org>
Tested-by: Prashant Malani <pmalani@chromium.org>
Link: https://lore.kernel.org/r/20200529131753.15587-1-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/mux/intel_pmc_mux.c