Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3230143imc; Wed, 13 Mar 2019 12:12:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqwOCyW6RZzWxMab0K9p40Dk2T60PtFPV9cSCBD2333YQxjEdomESxI5pW0xxqa7KxPr0Xje X-Received: by 2002:a17:902:5e3:: with SMTP id f90mr42547966plf.141.1552504325752; Wed, 13 Mar 2019 12:12:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552504325; cv=none; d=google.com; s=arc-20160816; b=dBD3tPevixTLYjqUrgj6cya4DLUV//LjQVqsMJ1D/seI6dkpA8UTgzduXBaiQqCOkS 7xGWAjO9x2vgFUlM2gaoyXyddpXnlJ+brPcf62XkZbblpLw+WnE411kr0SAY5Jr0pBHe aXLPkhb/5Akd905RzFjA5VBmfWzkv4ISynLOHd6VQAhluj6SvK6ArnSsk6x62ai/zmH3 /gjLObYPx1YpBuM8NeKoaQsOk1PjIVKLzrENsBF6gRfevRoKnLCsZZTgUlbWPfVYZ75g mfCa9JuWbbVNmBx3Na+61l5BuV9F0dk7KB1+Y7qaOiVHoNxL3JSXYcZD35pp+zjxLOo0 CGvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=YFTVacegtQ5eFLVl7/86UsGKlVsAlcmkAeHisJ9bm9s=; b=ZzR2p1niFTP4T9r/4M0suV56myOEtJIUHQmweEH4IHiLGL4yPnh38v9+ciE8bTHI+a xp9WVa7fzjI7N2SxlvSADr7SMcXkyHCHQFJU0S5dHa6F5yiD0GDuJ0W7uDd0Z5tAGQGS D3P1i7fERwhaTO96imBdNbnYVNwOEQUHWcAYZ4x5e6zL1xOMUhZMFTlQB6zc5QjC93JN nsJmXivMtSE5POK1a8RN6qGh8pDV4CBSseS0PtcM3skQ51KERmVkOgyTnNo4wYrJPfWe qeWA1thiPR+8SypjZ58lPkc7pG4IfcpU8ilT/dzZNez5Zu3vt0UfmdTjQ4xtQgralRb0 VVkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FEeFals4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m34si2887443pgl.139.2019.03.13.12.11.49; Wed, 13 Mar 2019 12:12:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FEeFals4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727318AbfCMTLD (ORCPT + 99 others); Wed, 13 Mar 2019 15:11:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:41612 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727284AbfCMTLB (ORCPT ); Wed, 13 Mar 2019 15:11:01 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5C1302173C; Wed, 13 Mar 2019 19:10:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1552504260; bh=fxeZbVkpq1WQ5KTii8YT5z9m75oqu4FMBQQXMZWQytg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FEeFals4Snjr87yMnFaPlSpgTxmkYIKdba8DOYM4K9v4kI9fktz88bpW7lCpZIbiG +mbCvSbZUiW96eW5Fhrgb1qEcHmDJgdCN4eZkFhdWEDJYwquuQZlidY8NXdVSQpuT5 Yrjd2Rlg6wR8j6kP8z8F3Hy4eEp0zjMk53UUAoUo= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Beniamino Galvani , "David S . Miller" , Sasha Levin , netdev@vger.kernel.org, linux-usb@vger.kernel.org Subject: [PATCH AUTOSEL 4.20 18/60] qmi_wwan: apply SET_DTR quirk to Sierra WP7607 Date: Wed, 13 Mar 2019 15:09:39 -0400 Message-Id: <20190313191021.158171-18-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190313191021.158171-1-sashal@kernel.org> References: <20190313191021.158171-1-sashal@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Beniamino Galvani [ Upstream commit 97dc47a1308a3af46a09b1546cfb869f2e382a81 ] The 1199:68C0 USB ID is reused by Sierra WP7607 which requires the DTR quirk to be detected. Apply QMI_QUIRK_SET_DTR unconditionally as already done for other IDs shared between different devices. Signed-off-by: Beniamino Galvani Acked-by: Bjørn Mork Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/usb/qmi_wwan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c index 6e381354f658..74bebbdb4b15 100644 --- a/drivers/net/usb/qmi_wwan.c +++ b/drivers/net/usb/qmi_wwan.c @@ -1208,8 +1208,8 @@ static const struct usb_device_id products[] = { {QMI_FIXED_INTF(0x114f, 0x68a2, 8)}, /* Sierra Wireless MC7750 */ {QMI_FIXED_INTF(0x1199, 0x68a2, 8)}, /* Sierra Wireless MC7710 in QMI mode */ {QMI_FIXED_INTF(0x1199, 0x68a2, 19)}, /* Sierra Wireless MC7710 in QMI mode */ - {QMI_FIXED_INTF(0x1199, 0x68c0, 8)}, /* Sierra Wireless MC7304/MC7354 */ - {QMI_FIXED_INTF(0x1199, 0x68c0, 10)}, /* Sierra Wireless MC7304/MC7354 */ + {QMI_QUIRK_SET_DTR(0x1199, 0x68c0, 8)}, /* Sierra Wireless MC7304/MC7354, WP76xx */ + {QMI_QUIRK_SET_DTR(0x1199, 0x68c0, 10)},/* Sierra Wireless MC7304/MC7354 */ {QMI_FIXED_INTF(0x1199, 0x901c, 8)}, /* Sierra Wireless EM7700 */ {QMI_FIXED_INTF(0x1199, 0x901f, 8)}, /* Sierra Wireless EM7355 */ {QMI_FIXED_INTF(0x1199, 0x9041, 8)}, /* Sierra Wireless MC7305/MC7355 */ -- 2.19.1