From patchwork Wed Jul 4 14:40:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matevz Vucnik X-Patchwork-Id: 10507049 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AAF1E60325 for ; Wed, 4 Jul 2018 14:41:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9D12828DF4 for ; Wed, 4 Jul 2018 14:41:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 90F0928E15; Wed, 4 Jul 2018 14:41:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3C7F028DF4 for ; Wed, 4 Jul 2018 14:41:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752458AbeGDOkM (ORCPT ); Wed, 4 Jul 2018 10:40:12 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:50878 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752145AbeGDOkL (ORCPT ); Wed, 4 Jul 2018 10:40:11 -0400 Received: by mail-wm0-f68.google.com with SMTP id v25-v6so6174208wmc.0; Wed, 04 Jul 2018 07:40:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=cLmR6Nz+14jlpzaY0K6wZ59vUKjmRn8oFCRldxGomtM=; b=n+g+FyX4P4LyCJMf0sFHwFZ02QnaZjYR93q2gnYnTz4af0kfKYWSkQa5ZwbyXEcr/q qmTgocSF1H6zAvQnDC4XXffsnaBP96Ufm7EFFcp65DO9XBfNjG8ZRfn55MBD4UsHdVPg PVIpeC9fU3r9jWHbkdJrnkXN9+Gs/bVU/oGhWGYafbbJsg883xbINEgaYrsnU+OoCHNE BUDRBGovNXgZVhNnYpSfaotU8uQJPklbo/ffQKTPnT/6P6mMLsNvZzvJJVbB8boWy5IX gTeliZFY3hpRpG4+C1In6yAwfBYPeIy4T3PzTJ0kW7/2V9e40Kuzyv2EHYRQ5kGY5M1W gdVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=cLmR6Nz+14jlpzaY0K6wZ59vUKjmRn8oFCRldxGomtM=; b=oPygdcspruVLQ14G4KHIyvKQREB7U8M5ts3lbtuZJstR3r9hEwt5e8SxA/DzY+ji3C bKVvswKC+a/xoJ0P9nCjLrN1TyL+/pEIx04RVWfnTd6T3Hp5LLNY33xs1XJJsJYwz9as TofaMAQl+vmFLTNUAvk44WHPJFNgntNa4brt88AvAbZmH1te/dVRbL5FedPeKnO6NO/2 wBDQVlgO+oqdVN2ueC7GFhYWKchTiQkFa2WSmOCP599CI3Mds2G0KZUFmXf8GVs224eh vSui7G7P5mcXbkitIem6qoiFfAPrQGGBV69BWypVc4PEFSil3xEuVe51uOuFWLC8gjN1 pOrw== X-Gm-Message-State: APt69E0qxLjG2Q9x7DFAcCcM9I0YQTeRjXqd1MhliXiec1KomGbVuBtP jrOm4WBOVsya/pFkKlvS82E= X-Google-Smtp-Source: AAOMgpeU20L9jF/0c/VQh/722aEmKDIJcVjKdfhEEPUxL8VpSufH4dYP2OsTrqQpzdsmlWNOqLT7hA== X-Received: by 2002:a5d:4b50:: with SMTP id w16-v6mr1842914wrs.87.1530715208621; Wed, 04 Jul 2018 07:40:08 -0700 (PDT) Received: from e6-mvucnik-xps.ijs.si ([2001:1470:ff80:e6:916c:c370:4e45:3d9]) by smtp.googlemail.com with ESMTPSA id 17-v6sm8812448wmm.21.2018.07.04.07.40.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Jul 2018 07:40:08 -0700 (PDT) From: Matevz Vucnik To: bjorn@mork.no Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Matevz Vucnik Subject: [PATCH] qmi_wwan: add support for Quectel EG91 Date: Wed, 4 Jul 2018 16:40:05 +0200 Message-Id: <1530715205-13676-1-git-send-email-vucnikm@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the USB id of LTE modem Quectel EG91. It requires the same quirk as other Quectel modems to make it work. Signed-off-by: Matevz Vucnik --- drivers/net/usb/qmi_wwan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c index 8fac8e1..829c05b 100644 --- a/drivers/net/usb/qmi_wwan.c +++ b/drivers/net/usb/qmi_wwan.c @@ -1255,6 +1255,7 @@ static const struct usb_device_id products[] = { {QMI_QUIRK_SET_DTR(0x2c7c, 0x0121, 4)}, /* Quectel EC21 Mini PCIe */ {QMI_FIXED_INTF(0x2c7c, 0x0296, 4)}, /* Quectel BG96 */ {QMI_QUIRK_SET_DTR(0x2c7c, 0x0306, 4)}, /* Quectel EP06 Mini PCIe */ + {QMI_QUIRK_SET_DTR(0x2c7c, 0x0191, 4)}, /* Quectel EG91 */ /* 4. Gobi 1000 devices */ {QMI_GOBI1K_DEVICE(0x05c6, 0x9212)}, /* Acer Gobi Modem Device */