From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.kapsi.fi ([217.30.184.167]:37357 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752120AbdFLKL1 (ORCPT ); Mon, 12 Jun 2017 06:11:27 -0400 From: Teemu Likonen To: Johan Hovold Cc: linux-usb@vger.kernel.org, Dan Williams , =?iso-8859-1?Q?Bj=F8rn_Mork?= , stable@vger.kernel.org Subject: Re: [PATCH] USB: serial: option: add Telewell TW-3G HSPA+ device id In-Reply-To: <20170612091612.30919-1-johan@kernel.org> (Johan Hovold's message of "Mon, 12 Jun 2017 11:16:12 +0200") References: <20170612091612.30919-1-johan@kernel.org> Date: Mon, 12 Jun 2017 13:11:18 +0300 Message-ID: <87lgoxecs9.fsf@mithlond.arda> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: stable-owner@vger.kernel.org List-ID: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Johan Hovold [2017-06-12 11:16:12+02] wrote: > Add device-id entry for the Telewell TW-3G HSPA+ modem, which uses the > Longcheer vendor id. > > Reported-by: Teemu Likonen > Cc: stable > Signed-off-by: Johan Hovold > --- > drivers/usb/serial/option.c | 4 ++++ > 1 file changed, 4 insertions(+) > > Teemu, would you be able to test this patch? It seems that you will do another patch but I'll confirm anyway that this works. I compiled the mainline kernel v4.12-rc5 with this patch. > diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c > index 3bf61acfc26b..b48f3557b2e4 100644 > --- a/drivers/usb/serial/option.c > +++ b/drivers/usb/serial/option.c > @@ -388,6 +388,9 @@ static void option_instat_callback(struct urb *urb); > /* SpeedUp SU9800 usb 3g modem */ > #define SPEEDUP_PRODUCT_SU9800 0x9800 >=20=20 > +/* Telewell */ > +#define TELEWELL_PRODUCT_TW_3G_HSPAP 0x9801 > + > /* Haier products */ > #define HAIER_VENDOR_ID 0x201e > #define HAIER_PRODUCT_CE81B 0x10f8 > @@ -1877,6 +1880,7 @@ static const struct usb_device_id option_ids[] =3D { > .driver_info =3D (kernel_ulong_t)&four_g_w100_blacklist > }, > { USB_DEVICE_INTERFACE_CLASS(LONGCHEER_VENDOR_ID, SPEEDUP_PRODUCT_SU980= 0, 0xff) }, > + { USB_DEVICE_INTERFACE_CLASS(LONGCHEER_VENDOR_ID, TELEWELL_PRODUCT_TW_3= G_HSPAP, 0xff) }, > { USB_DEVICE(LONGCHEER_VENDOR_ID, ZOOM_PRODUCT_4597) }, > { USB_DEVICE(LONGCHEER_VENDOR_ID, IBALL_3_5G_CONNECT) }, > { USB_DEVICE(HAIER_VENDOR_ID, HAIER_PRODUCT_CE100) }, --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEkhZiiC54Bnj5a16Skzo1BB5+rVEFAlk+aMYACgkQkzo1BB5+ rVFi+wf/UgFa91oJonH0QDjv/9qJMwLYkMaY6+ZMS/Lw3y6ZxqCk7u2VyOEKYLcN MaXPM8+aLVMJ9a9Gqj5wY7r1jq1HH5AtnpiNvuM0v+2Xn+M0LU3+eqbiJMzfyE4v VQUcdDmIjr4RKzqZiKnGa1Ef+NfzJQgwWgWY9WQL2Jj6fLp7aJLzwTrB0xvMT0qY qpvaP5tmfmHL0DvZDcmwYV34z+TB4iRtv214NcQWWQBcr+8AotdTkXvtiwZgqcaZ TO1IANQ9IX/RwW4noyPDB4dRZ2+L6A0rC55gDQt513Fm2s5enY5GLIRa8kcgejtK egGiaUaOOHtt1a0s3+Ki0g7LxyJcbQ== =Jyvr -----END PGP SIGNATURE----- --=-=-=--