From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DFA2AC432BE for ; Fri, 30 Jul 2021 15:12:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C3A1160F94 for ; Fri, 30 Jul 2021 15:12:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239571AbhG3PMJ (ORCPT ); Fri, 30 Jul 2021 11:12:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:55046 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238909AbhG3PMI (ORCPT ); Fri, 30 Jul 2021 11:12:08 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5242A60F5C; Fri, 30 Jul 2021 15:12:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627657923; bh=kxUtOLEZStV/pG0MsyqmAQ170ubCws0dYqCyy6etDis=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mWDfR7V9oCVq0MkC9xUhJWbF/OyheNka88BQx4QMENMtQGXntWdEfeHnEPVR14s0k 1ZNkKyW2v62mCESdSd4UE3SijJM1uT4itJPP9RZSJZ7bpXMapz9njpvhbGA1T36jaO AX5MhngJbrGQtK8SWvZevcJs4gc4UL3wSjTwS58xE9H6UHuFgAQCwD9u8CP/SmKEBO wq24Cb4xBGYCmX4PPDh/7Ozjfqm+PCYK1AKWHUAjP0QXKcUWds9rNYQ3/RqWi/XUhY eb+IwiRwsb2ATJvFvrzEUsDVH+gwf25Q9uclp681m9mWhYOoSqJfbTtj6xnOhpa9CW W7lkp4xi3h3Pw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1m9UAY-00046W-Tn; Fri, 30 Jul 2021 17:11:26 +0200 Date: Fri, 30 Jul 2021 17:11:26 +0200 From: Johan Hovold To: Greg KH Cc: Charles Yeh , =?utf-8?B?WWVoLkNoYXJsZXMgW+iRieamrumRq10=?= , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Chris , stable@vger.kernel.org Subject: Re: [PATCH] USB: serial: pl2303: fix HX type detection Message-ID: References: <20210730122156.718-1-johan@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 30, 2021 at 02:29:55PM +0200, Greg Kroah-Hartman wrote: > On Fri, Jul 30, 2021 at 02:21:56PM +0200, Johan Hovold wrote: > > The device release number for HX-type devices is configurable in > > EEPROM/OTPROM and cannot be used reliably for type detection. > > > > Assume all (non-H) devices with bcdUSB 1.1 and unknown bcdDevice to be > > of HX type while adding a bcdDevice check for HXD and TB (1.1 and 2.0, > > respectively). > > > > Reported-by: Chris > > Fixes: 8a7bf7510d1f ("USB: serial: pl2303: amend and tighten type detection") > > Cc: stable@vger.kernel.org # 5.13 > > Signed-off-by: Johan Hovold > > --- > > drivers/usb/serial/pl2303.c | 41 ++++++++++++++++++++++--------------- > > 1 file changed, 25 insertions(+), 16 deletions(-) > > > > Reviewed-by: Greg Kroah-Hartman Thanks for reviewing. Now applied. Johan