Received: by 10.192.165.148 with SMTP id m20csp4189177imm; Mon, 30 Apr 2018 13:30:21 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo/hemF87HYQzR7Jl4dbL5xLkv1hKGVyOFqNBic+ktz8MXfSbkqlM65dJavUBYUbLnUvrW5 X-Received: by 2002:a17:902:6986:: with SMTP id l6-v6mr13689437plk.209.1525120221770; Mon, 30 Apr 2018 13:30:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525120221; cv=none; d=google.com; s=arc-20160816; b=gWTVytQevSqSHaThGXV5g8WazTrY2bKglLUy7vAI5Gy0CNa2rvpZ+dH5jinCpoVvJL w9KewmvcQhFUDSlTfwbHpgMWiZ3LYUmQzmZrE4+iTlRzG5AkDLbtkfA+mGcwopuGhmtU Vlci9uvP9GzHhtcEvdisu/jMg6tB0ThayXWFC7XGb5kzdKvqtgwOiymLgrKVtw6ozksq Oi+tMZLSp+upXEtlI4SYc8fJ/lC6q8PK+BecL5pXt5pTH4HDOiDnhHwXiK0MjhSdwME5 TYlJy8sDjZQyj1cVtMtc6Po7hdBUSAFQSG2GeYpksekJqMzWMpCZuWqCwwDibzIWf7Yu Cvdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dmarc-filter :arc-authentication-results; bh=nAUEaQpNv4UEfpGnPPNJfa0eL83fgcSNewKuq+SmFTU=; b=MrFzF/ZTDx+865W3UbxszKYr45MXocpnubNDWTeCp5vL5H2N66hehlPDHKLxtagEMW uzdqO/3cW1/+Zco64JNOIybuQBFUMhfHHYjOHnmzx4Aa8PTUlHYJTVK2RvkBkOinXDVf OuRMGj53EHurFcTdYuu/OdnI/fpCmjpLj80gGwA4/8prc9Wu1eQttugGmOrqbMYHcOQ5 BJ8q6yHRhrS1tz8Gau1KWimIlZbEp6O0qw/cIYarrSxxRE3ONTzQF04PvH96NBCQ3qjP HO+sos1vpB2tCRJRWO4hSyi2f7v0CJHQBy6OU68f5zCLE7U4aPCUnesqgmuud5EDat7R Ayug== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l4-v6si8074535plb.213.2018.04.30.13.30.07; Mon, 30 Apr 2018 13:30:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755867AbeD3U3b (ORCPT + 99 others); Mon, 30 Apr 2018 16:29:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:59726 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755564AbeD3T0R (ORCPT ); Mon, 30 Apr 2018 15:26:17 -0400 Received: from localhost (unknown [104.132.1.102]) (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 E2AA222DC8; Mon, 30 Apr 2018 19:26:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E2AA222DC8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=gregkh@linuxfoundation.org From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Vasyl Vavrychuk , Johan Hovold Subject: [PATCH 4.9 12/61] USB: serial: ftdi_sio: use jtag quirk for Arrow USB Blaster Date: Mon, 30 Apr 2018 12:24:15 -0700 Message-Id: <20180430183952.276145572@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180430183951.312721450@linuxfoundation.org> References: <20180430183951.312721450@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Vasyl Vavrychuk commit 470b5d6f0cf4674be2d1ec94e54283a1770b6a1a upstream. Arrow USB Blaster integrated on MAX1000 board uses the same vendor ID (0x0403) and product ID (0x6010) as the "original" FTDI device. This patch avoids picking up by ftdi_sio of the first interface of this USB device. After that this device can be used by Arrow user-space JTAG driver. Signed-off-by: Vasyl Vavrychuk Cc: stable Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- drivers/usb/serial/ftdi_sio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c @@ -1911,7 +1911,8 @@ static int ftdi_8u2232c_probe(struct usb return ftdi_jtag_probe(serial); if (udev->product && - (!strcmp(udev->product, "BeagleBone/XDS100V2") || + (!strcmp(udev->product, "Arrow USB Blaster") || + !strcmp(udev->product, "BeagleBone/XDS100V2") || !strcmp(udev->product, "SNAP Connect E10"))) return ftdi_jtag_probe(serial);