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=-15.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT 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 2A74DC433F7 for ; Mon, 20 Jul 2020 15:43:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F26FE22CAF for ; Mon, 20 Jul 2020 15:43:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595259826; bh=GjzTNAD2SRCoK8sJDxSQRELwKr0irgmWB87gKjOlOwM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=fZo4f+eNXYCbPMbX+CJSMEO+cKAJd/4fvalgxpaZ6J/Xq9WtPk+YggMalzgXcxGbV SzoIcaMr19CH2bB9RYnHSGpwXeAxhOiBVBYwZgGO7sBm6aAF/r8NUc/Cdi8RT5TUt+ tvXq00PvyxO4KiSwYewxmvg/gLyPYQLFaJYOLAdU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730303AbgGTPno (ORCPT ); Mon, 20 Jul 2020 11:43:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:37102 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730290AbgGTPnk (ORCPT ); Mon, 20 Jul 2020 11:43:40 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 396EF2064B; Mon, 20 Jul 2020 15:43:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595259819; bh=GjzTNAD2SRCoK8sJDxSQRELwKr0irgmWB87gKjOlOwM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=t3XLQmRwqr6/d3xw/Tk9QTodSnD/Z5hYFLLIN+k8vIS02U7opZ7gOg1hOEc9unDtD x4vtLpnBHxLFvKuSnhVu82zPVKaDarJQICYTdAHR3HjELWLGKpooeKyU+fX8wPPUWm NtVs6s6eGtZykSN0R8yU3QVQz2WU3eRIOJrjj2a0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Igor Moura , Johan Hovold Subject: [PATCH 4.9 70/86] USB: serial: ch341: add new Product ID for CH340 Date: Mon, 20 Jul 2020 17:37:06 +0200 Message-Id: <20200720152756.700560296@linuxfoundation.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200720152753.138974850@linuxfoundation.org> References: <20200720152753.138974850@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Igor Moura commit 5d0136f8e79f8287e6a36780601f0ce797cf11c2 upstream. Add PID for CH340 that's found on some ESP8266 dev boards made by LilyGO. The specific device that contains such serial converter can be seen here: https://github.com/LilyGO/LILYGO-T-OI. Apparently, it's a regular CH340, but I've confirmed with others that also bought this board that the PID found on this device (0x7522) differs from other devices with the "same" converter (0x7523). Simply adding its PID to the driver and rebuilding it made it work as expected. Signed-off-by: Igor Moura Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- drivers/usb/serial/ch341.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/usb/serial/ch341.c +++ b/drivers/usb/serial/ch341.c @@ -71,6 +71,7 @@ static const struct usb_device_id id_table[] = { { USB_DEVICE(0x4348, 0x5523) }, + { USB_DEVICE(0x1a86, 0x7522) }, { USB_DEVICE(0x1a86, 0x7523) }, { USB_DEVICE(0x1a86, 0x5523) }, { },