public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] usb: host: xhci: Stricter conditional for Z1 system models for Compliance Mode Patch
@ 2012-11-08 22:59 Alexis R. Cortes
  0 siblings, 0 replies; only message in thread
From: Alexis R. Cortes @ 2012-11-08 22:59 UTC (permalink / raw)
  To: sarah.a.sharp, gregkh; +Cc: linux-usb, linux-kernel, brian.quach, jorge.llamas

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.

Signed-off-by: Alexis R. Cortes <alexis.cortes@ti.com>
---
 drivers/usb/host/xhci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index c9e419f..af8b552 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -480,7 +480,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;
-- 
1.7.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-11-08 22:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-08 22:59 [PATCH] usb: host: xhci: Stricter conditional for Z1 system models for Compliance Mode Patch Alexis R. Cortes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox