Received: by 10.192.165.148 with SMTP id m20csp4159030imm; Mon, 30 Apr 2018 12:54:28 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrF1WYfs496x9JYLoVNaOtfKfyvEH4nrBOy7qzTvFiFGrOTK0YleEY2/sOvGx9v0GsPxVwB X-Received: by 2002:a63:618b:: with SMTP id v133-v6mr10676571pgb.285.1525118068068; Mon, 30 Apr 2018 12:54:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525118068; cv=none; d=google.com; s=arc-20160816; b=ACgc4IuCVZIMSwDESCQmKltLakWT2mR8pNOAU4+5Qf3+NR709+Lqa2Cdoij2pWaPOC ILN/28DpoMuit+Fes+PAopQuQS+zUWHmZTNlP58ZkWEBzbJ6MfjammhzwO6I8CZ32QZp FGYIe/7PWU8f0QcHlXUArxD+Mird4KFzctHEv6kVSM6VK5FWl6VHvglrfUmsHLGTvirs ++KI5B37rYHe2ob+K7vVFjtwu9Gbl8mLQ/EGf66AQ2lj2FTondICM8QiYp9Ie/Ryg/pt C1PMh/4BkpiIZyUK9gytcc1It7TuP+WGpvTWQfrmpckHCWx7OndhAUrl6NHKS9DZWpbd oTyQ== 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=19EomCia93l/o2MgEur/stUou4TueROzVtNIpn0ZOmY=; b=Pg10VWm9ny34rAylugjHR4pe/cBwvwo9wI5d0emfYXYCJO8KGYVQe0aDII9SxiOb7H jVHFV6o92ATqzAozINvoM0MECgLwTaThf3vO6fdK38vn+nZBgkugzKncj29mcshSxtId 3j2JigpV/Ozh8YyP3B40zNp0mXDwklfsBiT/O8N+Zx+DMqAPEvLxLiTSJG0q/CnXwxtG cgGU+czfL7lgNcDtfBXFvlFjSO+LEuaVCIbuU1MavenkqGAOkZgR7k0bOzFV2Cnoom8U cIucJSK5zKOKDP7Utr+ifw5Da9sn9oh2YC4K3QSWJv93MsQq2IxKcoZxlVNsSd1nQJi0 /CJA== 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 f1-v6si7928501pld.168.2018.04.30.12.54.14; Mon, 30 Apr 2018 12:54:28 -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 S1756201AbeD3Txw (ORCPT + 99 others); Mon, 30 Apr 2018 15:53:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:35126 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756119AbeD3T15 (ORCPT ); Mon, 30 Apr 2018 15:27:57 -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 5251722E02; Mon, 30 Apr 2018 19:27:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5251722E02 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.16 017/113] USB: serial: ftdi_sio: use jtag quirk for Arrow USB Blaster Date: Mon, 30 Apr 2018 12:23:48 -0700 Message-Id: <20180430184015.809223277@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180430184015.043892819@linuxfoundation.org> References: <20180430184015.043892819@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.16-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 @@ -1898,7 +1898,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);