]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: roles: intel: Enable static DRD mode for role switch
authorSaranya Gopal <saranya.gopal@intel.com>
Thu, 29 Aug 2019 11:56:00 +0000 (17:26 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Sep 2019 13:56:36 +0000 (15:56 +0200)
commit2be1fb64dfeb2b1753328a5c4ac2259e16e53efd
treed70f1de568da2fb2356e1626bb77e7d6aa051800
parent6ed151f264841d5d3453e2c68c7e711b639ccde5
usb: roles: intel: Enable static DRD mode for role switch

Enable static DRD mode in Intel platforms which guarantees
successful role switch all the time. This fixes issues like
software role switch failure after cold boot and issue with
role switch when USB 3.0 cable is used. But, do not enable
static DRD mode for Cherrytrail devices which rely on firmware
for role switch.

Signed-off-by: Saranya Gopal <saranya.gopal@intel.com>
Signed-off-by: Balaji Manoharan <m.balaji@intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/1567079760-24822-2-git-send-email-saranya.gopal@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/roles/intel-xhci-usb-role-switch.c