Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp875834imj; Fri, 15 Feb 2019 08:14:09 -0800 (PST) X-Google-Smtp-Source: AHgI3IbWtxVv7AoJUkJpZch52JL524PasUEX8GKwta7voTLP0VtFu0detdNdocX924eB1NL0n6C6 X-Received: by 2002:a17:902:9893:: with SMTP id s19mr11055329plp.165.1550247249877; Fri, 15 Feb 2019 08:14:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550247249; cv=none; d=google.com; s=arc-20160816; b=GgN143+YueHbPfJ48MI3Z1DYoXZ0HlYWWEZNzRcdcVBEBQWxV7k8QRsy5nKkK+EBND WrM+crFyXXpgs4qzSnt1QDKydJbfkOVyBI3eipUx/WErxV6XRinHCNdWq8/kCjUIjR2X 9wz52tbrbHQjtarY/fTq2UnWi4nYqSwVJpSFl3P1W5ph9sjBt2sSlE15BtF1R1rS5mXr 4aqSEQWcgCrsxYflkomYySok4Gg+feIVb9F+zyLMp2nqvhT1dBVeIEJwkVb4FQQ3uV9R RR+1GHl2VlxHUBQmlHd1vVZHdA5o5FnCrw7/4NXRIzlYryp/xT9DXpa50YHGV19v4BbI /eeA== 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 :message-id:date:subject:to:from; bh=fwr3IxjUA1jEkvsqkwG5PQA7HbYd+TKa+Jmd2GR6rc8=; b=JqWUhQ7wq02B9hXUvfpYnSrW031I86nDFWEEMffao+Hb6j1784JQDO7WNfb/Pq/Z35 VzlpJAwERC5lqrGXV06D6LFU056YKpc8++GRupMkropACekmEs5dvXA93WDmbwKkj+99 Efy9Co0jGm5fxBc7CXRPJtc+SacRK+xJh0/VG13k3TrmMf6ZZdvTRs6ueCQo8ujneuC1 lhVrUXchEJ6c47b1NnrThdLI4fydQ0k97u91FAY36OrpHysi1y6gLsGVNKNYkESveGmr FElji0J9VdtBOAWYBRGpEBgPtIycgfIEOdeiBNbLSlzogXoqqZDBhrtl/A7svAVkhcIs Zy6g== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33si6037622plu.169.2019.02.15.08.13.53; Fri, 15 Feb 2019 08:14:09 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2436977AbfBOMW5 (ORCPT + 99 others); Fri, 15 Feb 2019 07:22:57 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39946 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727509AbfBOMW5 (ORCPT ); Fri, 15 Feb 2019 07:22:57 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0ECACAC2C1; Fri, 15 Feb 2019 12:22:57 +0000 (UTC) Received: from localhost.localdomain (ovpn-117-123.ams2.redhat.com [10.36.117.123]) by smtp.corp.redhat.com (Postfix) with ESMTP id 51DC35BBA2; Fri, 15 Feb 2019 12:22:54 +0000 (UTC) From: Beniamino Galvani To: =?UTF-8?q?Bj=C3=B8rn=20Mork?= , "David S . Miller" , netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] qmi_wwan: apply SET_DTR quirk to Sierra WP7607 Date: Fri, 15 Feb 2019 13:20:42 +0100 Message-Id: <20190215122042.23195-1-bgalvani@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Fri, 15 Feb 2019 12:22:57 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 735ad838e2ba..18af2f8eee96 100644 --- a/drivers/net/usb/qmi_wwan.c +++ b/drivers/net/usb/qmi_wwan.c @@ -1201,8 +1201,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.20.1