Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp745076pxu; Fri, 11 Dec 2020 13:16:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJxIl8DHV3xCaWHiIKr3FUXOu0l6fXRD6x34dequpZy7N/7/4wL76DKE02DyxYPH8dmvM8OI X-Received: by 2002:a17:906:1945:: with SMTP id b5mr13292359eje.388.1607721376447; Fri, 11 Dec 2020 13:16:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607721376; cv=none; d=google.com; s=arc-20160816; b=vRuXeUJxFdxZdgegySk6xlAyYOoOPfb5C/SZM0iz9afeGKTtYlpLVawQqEUgi7i+YE EowsGelcCHhOmYArWp52v58D1rpcWq6vMztdck8mvj6OwHqhGv3hqHHVBdTqd0/stxGN APUyj4qGLDmQsEKpnjKM/TEotwYrXrUXvdB1Bptp39yW650CQMqmRShPrgTWKMH2mx4A 0nJdwr91JjsNY8+RLeMMODQBuZaW/CpvokZnsX6ClL74Vtb0RfT0nzI5giObVAafnHN3 MBGR7zEtlL4sKkdso++ucYo8nSMwxJOSr0FOlv5dDzdUxo4iekB6U4324Jqs/nsPAmKx 4JBA== 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=8ydlfy34c6nPsLpd9kGRDa/3puoQd9KbkXft14KCtH0=; b=QtoGsFamQaeuKw+Kxv4xMMexOfJWAUFNhcKAuKpW+78RDtxZ0nAP2CU0wFI4Yo9V+p TDkZV+F+9etRWlipcUw7+7C7Qi2Wozjt/UQq2voIi1t3/MLOw027YCvUlej1ob07tROk 6GaCMzMXfhxzA6pA0smfYyukcx6spb0akRtOydHFICN7TEr6B+PvTUam0yptFn5AjQ2E RlqKldK/XqeePXSTfvnb5VZM9tpJ2LogruZpz9W6N8N3MGfBdpK3gapn2kNizCqcGrSP lPJnEkCA6gJYHQ5XeKMz9OzUujzSI6tqBiPA2cdCJEPRwLJ238o3S9BoErrFP4CgdPH2 u5OQ== 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 m6si2233890edr.532.2020.12.11.13.15.54; Fri, 11 Dec 2020 13:16:16 -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 S2404254AbgLJTHM (ORCPT + 99 others); Thu, 10 Dec 2020 14:07:12 -0500 Received: from mail.kernel.org ([198.145.29.99]:38892 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388627AbgLJObB (ORCPT ); Thu, 10 Dec 2020 09:31:01 -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.9 25/45] USB: serial: ch341: sort device-id entries Date: Thu, 10 Dec 2020 15:26:39 +0100 Message-Id: <20201210142603.602377144@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201210142602.361598591@linuxfoundation.org> References: <20201210142602.361598591@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 @@ -70,11 +70,11 @@ 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);