Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3806588ybi; Mon, 29 Jul 2019 13:01:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqxo076xrmKgHmQF3tEaAXdhpS/qJh7IyQUA/ntDRZwn9mLQMXUdDODCrS9Q3GkpI+26uGP+ X-Received: by 2002:a62:d45d:: with SMTP id u29mr38092921pfl.135.1564430470728; Mon, 29 Jul 2019 13:01:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564430470; cv=none; d=google.com; s=arc-20160816; b=pbX8lLGvCu3BZoSPip1VOlhTZmrlBnUEp7ST1pE+vg08UEu6vWA+6esSh6GmVb/TsY Xmyrb/txFYkd4udXb/OLxxDaJUZa93lX+72FuQhDVSS9VxmFpG3aqzw+OcI8+FsEA+ob YDOIbJP0+hA8zPSUZ50R/5cwId+VPWqVp1bHsT/EM/1Pw4ZrIUFSDsQ6MMsOKAzzQN3v 6pKriz/8x0OPAEfyLOz6Ggl+sUdxcw7O0qC/t8I0MTwn1v0xnMFypTpbX9ZxnCZh88Sd 0GVaHGV9vu7H6cNgEWACCHuplyyfJzQPFrwwICIu02YTMjFMcM34VE69UY+TncdYVN2i Zvcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=P8+stsPlZDSsHmqHQkvi4mb1CTZ8xnQ0ONNeoOSmkTQ=; b=qI0ntrinncZuUGH7oWVj3qYqn640+PlmqyyNwBgU/QMqgYPoUvTzDjM5vKwlDnwTZX 8bH9SCGz4LMO9PSAC3m4aNsrp9eKWIpFxg5O+6GMxnkpdoHvWXuVOXgnbzzZYhTgnfMb OGYLHhjai193kAOQROzyDolDYlorY9Xg0YzoLLnJCIkMM4+N43IGWMiwjCTz326pz2E9 QlIaCzFOYqAsIHnQ0fKKPeU3tyafLC8WdwlFMhfzE8HmodhmVt7CzE1YGqe6I/WPBGry txT0Gjbw4CYlsFJ6/+vEB8iXMKj/UGRp14cBnE17zRWAMdsl0JCP7LVCU7CMKbKnR3Lu nbOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Lo1nThcB; 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 o4si26298603pgv.157.2019.07.29.13.00.55; Mon, 29 Jul 2019 13:01:10 -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; dkim=pass header.i=@kernel.org header.s=default header.b=Lo1nThcB; 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 S2403960AbfG2T62 (ORCPT + 99 others); Mon, 29 Jul 2019 15:58:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:46174 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403841AbfG2Txn (ORCPT ); Mon, 29 Jul 2019 15:53:43 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 A1C21217D4; Mon, 29 Jul 2019 19:53:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564430022; bh=S0HiX7B0+lIMuMWQZ6udeWmH4rTbPlb9ZFOIJcx6aVY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Lo1nThcBrVPn8XDomtnPch5DA4MqFhAAaPckkJ2yWdTfLyo+1MVN/SNspG3F4xuFg VvN3e3sZVmJt+3iYIupWjNuemLOQODZEn9Satzl6b4v2GQIYyGaeJD0a87M3MZ/ML6 n/j3uE9jajKO0oOH5UYOBuQf4/7fCCFCrOqO5aqc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Lucas Stach Subject: [PATCH 5.2 172/215] Revert "usb: usb251xb: Add US port lanes inversion property" Date: Mon, 29 Jul 2019 21:22:48 +0200 Message-Id: <20190729190809.726019480@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190729190739.971253303@linuxfoundation.org> References: <20190729190739.971253303@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lucas Stach commit 79f6fafad4e2a874015cb67d735f9f87f1834367 upstream. This property isn't needed and not yet used anywhere. The swap-dx-lanes property is perfectly fine for doing the swap on the upstream port lanes. CC: stable@vger.kernel.org #5.2 Signed-off-by: Lucas Stach Link: https://lore.kernel.org/r/20190719084407.28041-2-l.stach@pengutronix.de Signed-off-by: Greg Kroah-Hartman --- drivers/usb/misc/usb251xb.c | 2 -- 1 file changed, 2 deletions(-) --- a/drivers/usb/misc/usb251xb.c +++ b/drivers/usb/misc/usb251xb.c @@ -574,8 +574,6 @@ static int usb251xb_get_ofdata(struct us hub->port_swap = USB251XB_DEF_PORT_SWAP; usb251xb_get_ports_field(hub, "swap-dx-lanes", data->port_cnt, &hub->port_swap); - if (of_get_property(np, "swap-us-lanes", NULL)) - hub->port_swap |= BIT(0); /* The following parameters are currently not exposed to devicetree, but * may be as soon as needed.