]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
usb: host: xhci: Stricter conditional for Z1 system models for Compliance Mode Patch
authorAlexis R. Cortes <alexis.cortes@ti.com>
Thu, 8 Nov 2012 22:59:27 +0000 (16:59 -0600)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 3 Jan 2013 03:33:07 +0000 (03:33 +0000)
commit b0e4e606ff6ff26da0f60826e75577b56ba4e463 upstream.

This minor patch creates a more stricter conditional for the Z1 sytems for applying
the Compliance Mode Patch, this to avoid the quirk to be applied to models that
contain a "Z1" in their dmi product string but are different from Z1 systems.

This patch should be backported to stable kernels as old as 3.2, that
contain the commit 71c731a296f1b08a3724bd1b514b64f1bda87a23 "usb: host:
xhci: Fix Compliance Mode on SN65LVPE502CP Hardware"

Signed-off-by: Alexis R. Cortes <alexis.cortes@ti.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/host/xhci.c

index a8a38dd09ecc7342f1ddcbe2029a72836453b5e2..9dc5870cd946c82c7dedcdcd3b74d1723cf748fd 100644 (file)
@@ -472,7 +472,7 @@ static bool compliance_mode_recovery_timer_quirk_check(void)
        if (strstr(dmi_product_name, "Z420") ||
                        strstr(dmi_product_name, "Z620") ||
                        strstr(dmi_product_name, "Z820") ||
-                       strstr(dmi_product_name, "Z1"))
+                       strstr(dmi_product_name, "Z1 Workstation"))
                return true;
 
        return false;