Received: by 10.192.165.148 with SMTP id m20csp4196188imm; Mon, 30 Apr 2018 13:38:27 -0700 (PDT) X-Google-Smtp-Source: AB8JxZonSaAMncoGsg6qflt/xYxwulpHGatV68OLJilhG4tV0V2iQ391LNIuXEOo/pvQLziBtzj3 X-Received: by 2002:a63:2ace:: with SMTP id q197-v6mr11238921pgq.60.1525120707318; Mon, 30 Apr 2018 13:38:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525120707; cv=none; d=google.com; s=arc-20160816; b=IEuqHcYobg10luQtVlr/gCUBOWQ4zTihnltUHwXEQ6Rn6tV4sqP0V9bBeKGrT7GvYV otZ8lCtzpV34uzn8KI/qb1i4+uTiA3niWGsxkI9BDT3P9e9OSD+IolrF2E4F7rk5LCFr YkL5X2D4LLPYZd3ObsGdoZbulGlDi0Q3yP5SHt2qt/Fpt7hitPFcScAKySsZb3efVCpK TBn3oksiVi8beJx4VkRLSVtjh+6kNhJU+JBkdTzR5PyoPqkysI7r2v0wjNAhEkaVn5n/ 0vYhw2vbCEteZBXCLBqp/rynh4hDDvUmDw07YJH1XyrQLNFI5HTRbmm1rx8933HdWtFE Ob+Q== 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=L9jZs6PqEVSd04ZLltTPJaF88dVAwmJ2AEM5Mk1AhTY=; b=naEHFNB9UyZcD9pOnGf3zrdaIRyqfdQuxxRL2+eWoFaaf0L1M3DEWzt7SqOW9ALDEP BpRK+hhUZcAbuvtYxYkqJtLxIfTF0HSqZkvy4DMfwLvX6KLI7j7lKHylQW/P7SlrJdSj 20GqLh5n+JDllJq1jY3lIkqhaP6h+7jkwoQLHBWcEwjW4w78q1EEw5bmmLAltWixc4it vjRmoSBGOSC6Vs7iItXLikNi9N+E4FnS58Ktci1Mcha9s4f92s3ttCCCvARMioE512IR SD7ycFjdu+ORRKFdYVMrw6VElvAxaj18OttC/0PKouyR+QaZuGYIi9govF735P3/PlYg 5c0Q== 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 h3-v6si6570708pgf.314.2018.04.30.13.38.13; Mon, 30 Apr 2018 13:38:27 -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 S1755596AbeD3UiB (ORCPT + 99 others); Mon, 30 Apr 2018 16:38:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:58798 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755408AbeD3TZw (ORCPT ); Mon, 30 Apr 2018 15:25:52 -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 4D80C22DC0; Mon, 30 Apr 2018 19:25:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4D80C22DC0 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.4 08/44] USB: serial: ftdi_sio: use jtag quirk for Arrow USB Blaster Date: Mon, 30 Apr 2018 12:24:19 -0700 Message-Id: <20180430190946.672704982@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180430190946.093694747@linuxfoundation.org> References: <20180430190946.093694747@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.4-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);