Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp36403pxu; Thu, 10 Dec 2020 17:29:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJz3l+dStVMsyDDaGWX3E7G3uRvw1EosPlEGdLznFt+YyAuqqQMYr3NOmDCHhkvF2E4eurvk X-Received: by 2002:a50:e083:: with SMTP id f3mr9570027edl.223.1607650187416; Thu, 10 Dec 2020 17:29:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607650187; cv=none; d=google.com; s=arc-20160816; b=bcNNDT79LVues1GLQegQDpMEMzNeFn0dEpmrnL8vEgaVzq981Pwgl4ChsbIShWvuJj YAxY3iQJPNenhkzVFu55IoxEDn4gLewNEkHi7zgFKc93Dnh778uYZ/HPP8ZlgLY6sqRp 7UiJjJZWdMwoRnuY5xsqNZLica+e/fuhwlF87e3nNz8KzNM5wr5TEkLZqSsFJ3BQKuSm jhLoVmq/qMtrsRqcFX09UjkrtDwoDsE/f0yEcoNFZQ7kCyJsB7uBhNir4o0W4mZQpQBT PKg3FjhFOkyEmP61KQTTsEGVRDoSPc8geYXwjLODqqafIZMetBq5f3acFBK8Erh3qmWu JPtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=BCtyEYqocxKLz9BUWUHFxvWSX+Qdb2ireYRXaD6WhQ0=; b=xnNAE6/WDBXmYRVsFN2x1exWnfSakdaVF7El44fyjJN/p8OKp7775DfUD4KQVt8xqy AzRZLzYMAEIEAozhureV5rLD9Ay8L5R8yoMAthkIoagyGaJH330F068vum38GimsFOVJ QB2iOi/5Jem6z6ZFM2+Cbd6jfilqlGKPB49UjVzF4V6Y93xInj8zSOn2keeJZtuKpGCg tUqDzlQh1oOvI1GyitQSneGm6GMeWI/0KxgO2sveqxEgWCcLDXa3B+3b7uFOJIukNkDS XrHulIabO3gEICT4ChW2k6YZ4X7ur934D3JFwUINDPopVp5RZggPr76dVGw2RdJUDBUh GKhg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f19si3745432ejq.225.2020.12.10.17.29.25; Thu, 10 Dec 2020 17:29:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390726AbgLJOdC (ORCPT + 99 others); Thu, 10 Dec 2020 09:33:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:39602 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390556AbgLJOcZ (ORCPT ); Thu, 10 Dec 2020 09:32:25 -0500 From: Greg Kroah-Hartman Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Johan Hovold Subject: [PATCH 4.14 08/31] USB: serial: ch341: sort device-id entries Date: Thu, 10 Dec 2020 15:26:45 +0100 Message-Id: <20201210142602.509100147@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201210142602.099683598@linuxfoundation.org> References: <20201210142602.099683598@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Johan Hovold commit bf193bfc12dbc3754fc8a6e0e1e3702f1af2f772 upstream. Keep the device-id entries sorted to make it easier to add new ones in the right spot. Reviewed-by: Greg Kroah-Hartman Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- drivers/usb/serial/ch341.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/drivers/usb/serial/ch341.c +++ b/drivers/usb/serial/ch341.c @@ -83,11 +83,11 @@ #define CH341_LCR_CS5 0x00 static const struct usb_device_id id_table[] = { - { USB_DEVICE(0x4348, 0x5523) }, - { USB_DEVICE(0x1a86, 0x7522) }, - { USB_DEVICE(0x1a86, 0x7523) }, { USB_DEVICE(0x1a86, 0x5512) }, { USB_DEVICE(0x1a86, 0x5523) }, + { USB_DEVICE(0x1a86, 0x7522) }, + { USB_DEVICE(0x1a86, 0x7523) }, + { USB_DEVICE(0x4348, 0x5523) }, { }, }; MODULE_DEVICE_TABLE(usb, id_table);