]> git.baikalelectronics.ru Git - kernel.git/commit
usb: typec: mux: intel: Fix DP_HPD_LVL bit field
authorPrashant Malani <pmalani@chromium.org>
Mon, 11 May 2020 09:18:34 +0000 (02:18 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 May 2020 12:33:51 +0000 (14:33 +0200)
commit73c3cbcf3ff15a57d81ab601924fd04023e82555
treec42fbb091e673f968d9fef3f0db0188dc6ca3012
parent031c0fb943a7fe99cf1c32ee3a0f13313bbd8426
usb: typec: mux: intel: Fix DP_HPD_LVL bit field

According to the PMC Type C Subsystem (TCSS) Mux programming guide rev
0.6, the PMC HPD request LVL bit field is bit 4.
Fix the definition here to match the programming guide.

Since this bit field is changing, explicitly define a field for the
HPD_HIGH mode data bit.

Signed-off-by: Prashant Malani <pmalani@chromium.org>
Fixes: 75d0ef9fd5a1 ("usb: typec: driver for Intel PMC mux control")
Reviewed-by: Benson Leung <bleung@chromium.org>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20200511091837.102508-1-pmalani@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/mux/intel_pmc_mux.c