Message ID | 20241106101459.775897-18-mathias.nyman@linux.intel.com (mailing list archive) |
---|---|
State | Accepted |
Commit | d7b11fe5790203fcc0db182249d7bfd945e44ccb |
Headers | show
Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C34A61DE3AE; Wed, 6 Nov 2024 10:13:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.10 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730887994; cv=none; b=p+GSUanuRM9yTl3FaIB+K0MercnYt17QsQTs8VhXozPzZJl/CxxffoUNQ6uxIYrhBJD2VIO7xINPMdPxHV5SMEyaJ8IZdcKDp5Z0TwBJkye+nzeQljIGadf0/qkc26FSR5YI7HydIzcP/b9DmM+kaNC5NSS3CcPceAOagB3ETT8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730887994; c=relaxed/simple; bh=eiWAtX+LR2y5YPx9QJM5LcvI9XMM/eNw/g1OXKd0iig=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=uZJiCvIFjUtOt1yHOEqNlW9n9ilVBIivKXTrsGsp6Cnf2Y7EYp94If6xAkGEbdCqjFy3OzBE7ODU0bRPWi57VV3z0KrZfRZI5kMovVd7alKRqVidqsBOPHD8vtVIgk+nRHc/85IgeZ855k1EeorMujl9r7ALmURcJpDTM4s9qcU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=hqiXLC+6; arc=none smtp.client-ip=192.198.163.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="hqiXLC+6" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1730887993; x=1762423993; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=eiWAtX+LR2y5YPx9QJM5LcvI9XMM/eNw/g1OXKd0iig=; b=hqiXLC+6hFajf+yWwbvutSN1+WTvyZMgU3BJVxkVHGwEEGDK7fT7Mz1E lC9yoicpzGGmoebXSuyVyLgP21bDTZMFezffw5fQUEMkU+/Rjls7J/cGR oJdbfQJTNJg9AjXtZcNhuAs+5pT+7L0hQYzhAgauqKDAeLXT278D9/xIk W6cdBZhQ1UcITyvBKcQJOFK4gB0Sj5YjU/Z3ZgACc+wpoJV4r0kykekNp qo3gIEkM9rlVzJ7BHrI4MMFpbCxc7TvW7b58ClL8E4MJVJtcjDYhQIW0o u8cLKaF7pKo7eLCHAjT3bYQ27s7SvxSs4FrkIivbIOX+oYa/VSQskWBiI w==; X-CSE-ConnectionGUID: pRx6GauJQkezCM8QPH/P7Q== X-CSE-MsgGUID: z+20Qs1KQDibeObsP14IDQ== X-IronPort-AV: E=McAfee;i="6700,10204,11247"; a="42059417" X-IronPort-AV: E=Sophos;i="6.11,262,1725346800"; d="scan'208";a="42059417" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Nov 2024 02:13:12 -0800 X-CSE-ConnectionGUID: hZWE9wsDRyauQJ/7MpLLIg== X-CSE-MsgGUID: jPIVNyTZRk6oEXAkNopYoQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,262,1725346800"; d="scan'208";a="84813213" Received: from mattu-haswell.fi.intel.com ([10.237.72.199]) by fmviesa010.fm.intel.com with ESMTP; 06 Nov 2024 02:13:11 -0800 From: Mathias Nyman <mathias.nyman@linux.intel.com> To: <gregkh@linuxfoundation.org> Cc: <linux-usb@vger.kernel.org>, Kuangyi Chiang <ki.chiang65@gmail.com>, stable@vger.kernel.org, Mathias Nyman <mathias.nyman@linux.intel.com> Subject: [PATCH 17/33] xhci: Combine two if statements for Etron xHCI host Date: Wed, 6 Nov 2024 12:14:43 +0200 Message-Id: <20241106101459.775897-18-mathias.nyman@linux.intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241106101459.775897-1-mathias.nyman@linux.intel.com> References: <20241106101459.775897-1-mathias.nyman@linux.intel.com> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: <linux-usb.vger.kernel.org> List-Subscribe: <mailto:linux-usb+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-usb+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit |
Series |
xhci features and fixes for usb-next
|
expand
|
diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c index 7803ff1f1c9f..db3c7e738213 100644 --- a/drivers/usb/host/xhci-pci.c +++ b/drivers/usb/host/xhci-pci.c @@ -394,12 +394,8 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci) xhci->quirks |= XHCI_DEFAULT_PM_RUNTIME_ALLOW; if (pdev->vendor == PCI_VENDOR_ID_ETRON && - pdev->device == PCI_DEVICE_ID_EJ168) { - xhci->quirks |= XHCI_RESET_ON_RESUME; - xhci->quirks |= XHCI_BROKEN_STREAMS; - } - if (pdev->vendor == PCI_VENDOR_ID_ETRON && - pdev->device == PCI_DEVICE_ID_EJ188) { + (pdev->device == PCI_DEVICE_ID_EJ168 || + pdev->device == PCI_DEVICE_ID_EJ188)) { xhci->quirks |= XHCI_RESET_ON_RESUME; xhci->quirks |= XHCI_BROKEN_STREAMS; }