Received: by 10.192.165.148 with SMTP id m20csp4176519imm; Mon, 30 Apr 2018 13:14:21 -0700 (PDT) X-Google-Smtp-Source: AB8JxZplNHynrqHHGfMUvtZNyw5PFGGa0Z4JEmIVHTUaVZj5aXBUMI4vZLY90pFGiqOlOaiEVPQL X-Received: by 2002:a65:4b86:: with SMTP id t6-v6mr10963940pgq.138.1525119261622; Mon, 30 Apr 2018 13:14:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525119261; cv=none; d=google.com; s=arc-20160816; b=aKZPIi299WFUg8O/QPIvXBl8ea/1R8xrCCnF9RVsjLNji7cVEyXL/M9PYiKYEuU5YI LwR8LklJWzUkv5xV8Yiw2iJh9CHtpTJICsURCevJC38DTJGwHwisjoJohCF0+kRvLrsg r8k6VI9iLltpW2FL8Wbz6a+1HJQ7TWb2XyrSjN2+rXiqnCnbpW/oFcl63vQrbe9duonU B5ucX5FDyZF4SJYuLW7GSseI15jR+IikQbUhQy6FJ8XR91NsVJohdHAuC6LieoTEa1v+ K/BCL/jC3MPur3crBkJr6ufuRgRthP08/FQO3SRzwRgoi/+sQKq264EOtkMJw9xNJWgh 8Cpw== 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=qhhh/fC7u7dHGH8Jokg/L6JvWKU6CBjlg+bgAPeOvHo=; b=syYRggBjmfA8Zmea6hLGTb3Lv3PiZ2gIilVp8iYXsa123QBC2d7D5McxKe/wyOagJY FCJy6k/mHl4yUG81dBSzsTJFrWZf5/qvf4jl6BU54C3C4JG1dBxEoSYJZM+vw0N58b/6 fEh0bqW60RF+m5ZN2athV+YejZsmRUFvFZqbtQ39lwmhldu/SOfjt/lWq6cncFLQegzj 1Nol7AyZvazZvfMuLZFBg0+XX8q3EookazPeRHyqIHYJow9kBvaK2qMD9S4lVa4w4PuK cTKD7qKQZO39fst1yqv3hTEl1CpMuOV1SBLSGK8koQPc7R1JBgolLU+MNS5MTCFMlpe4 gEfA== 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 u20si7928998pfm.70.2018.04.30.13.14.07; Mon, 30 Apr 2018 13:14: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 S932141AbeD3T1I (ORCPT + 99 others); Mon, 30 Apr 2018 15:27:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:33040 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755863AbeD3T07 (ORCPT ); Mon, 30 Apr 2018 15:26:59 -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 DEA3522DC8; Mon, 30 Apr 2018 19:26:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DEA3522DC8 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.14 16/91] USB: serial: ftdi_sio: use jtag quirk for Arrow USB Blaster Date: Mon, 30 Apr 2018 12:23:58 -0700 Message-Id: <20180430184005.077018234@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180430184004.216234025@linuxfoundation.org> References: <20180430184004.216234025@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.14-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 @@ -1902,7 +1902,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);