Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1143428ybt; Thu, 18 Jun 2020 01:21:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpW+20/PW5rg9RQGUmKy7VSVHnzVaXjwo5ryoJbof+7EftEh6fCAOgysnStNJDylDps+yd X-Received: by 2002:a17:906:11d9:: with SMTP id o25mr2753441eja.377.1592468472895; Thu, 18 Jun 2020 01:21:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592468472; cv=none; d=google.com; s=arc-20160816; b=gQhiDsLT07Iv91B/0ePNFvJGC3ddhJEpll2P5GLbTwaknVka5e5L0kbGfKMjKdvJjb J4ccW6AkQb0tqjdLSNtqbEX3zZr+0k7i0KdlDXW6nFDiygepShnic3ZfCamdRsJjD9nF RezyzfGdlzfR592/IgPg43YQdLqoWSmlp6JNog7iXSFx2cd00eEnbFp6IrcWZeyHAp/1 fjegYWzwVmQU/PAbfyor7hSJtsS5N2iwwDbfVZqRkjORw+W8N5zMqUns+jKHygJGnFbk qpfXAJmK7eCXKrgDD+kxA51JU5G0pS30aWyI8jqzMhmyuNZRL3JtnmM5t0ZDLAFBvaDv XEng== 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 :content-language:mime-version:user-agent:date:message-id:cc:to :subject:from; bh=pNWX7ZEmM1mG7kVqoXVLl2jvhw1HpOjOketTMk2bFC4=; b=h0LTbgezYXGZqd5AGzI6sqxpgvq9SK0WbtkZ8CfZppDpIfOOFjBp44pDw7QokhI0LM xp1Bvp3cTzXjAR5F522UXlnRpFHY95MEXQmEha6Ly2WHTqZBFMwMd/WeYt9dxxBDH3bR 5+/2f7kBUWnDbker9sOHOFOSrc8jf3xRkxtYMpB+wWLxsWFncEgnZrAp5ojiEANadP7L 5GAwdK3duW7nLahVyjbz9QzLs3qKkF9+tDk5fYt6lk7B8YNLaRf98/quClP8COYNLf6I KiSu/eT/zeCfZb0s404pJFlttdjRl/frSvXM5EemCjd+7aXGTtrPByWPsAN95MB3J7eg 68qg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kt18si1488481ejb.511.2020.06.18.01.20.49; Thu, 18 Jun 2020 01:21:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728398AbgFRIQm (ORCPT + 99 others); Thu, 18 Jun 2020 04:16:42 -0400 Received: from thoth.sbs.de ([192.35.17.2]:45207 "EHLO thoth.sbs.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728278AbgFRIQl (ORCPT ); Thu, 18 Jun 2020 04:16:41 -0400 Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id 05I8Bhvw013177 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 18 Jun 2020 10:11:43 +0200 Received: from [167.87.31.88] ([167.87.31.88]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id 05I8BetX029723; Thu, 18 Jun 2020 10:11:41 +0200 From: Jan Kiszka Subject: [PATCH] Revert "tty: xilinx_uartps: Fix missing id assignment to the console" To: Michal Simek , Greg Kroah-Hartman Cc: stable@vger.kernel.org, Shubhrajyoti Datta , Jiri Slaby , linux-arm-kernel , linux-serial , Linux Kernel Mailing List Message-ID: Date: Thu, 18 Jun 2020 10:11:40 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jan Kiszka This reverts commit 2ae11c46d5fdc46cb396e35911c713d271056d35. It turned out to break the ultra96-rev1, e.g., which uses uart1 as serial0 (and stdout-path = "serial0:115200n8"). Cc: stable Signed-off-by: Jan Kiszka --- drivers/tty/serial/xilinx_uartps.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c index 35e9e8faf8de..ac137b6a1dc1 100644 --- a/drivers/tty/serial/xilinx_uartps.c +++ b/drivers/tty/serial/xilinx_uartps.c @@ -1459,7 +1459,6 @@ static int cdns_uart_probe(struct platform_device *pdev) cdns_uart_uart_driver.nr = CDNS_UART_NR_PORTS; #ifdef CONFIG_SERIAL_XILINX_PS_UART_CONSOLE cdns_uart_uart_driver.cons = &cdns_uart_console; - cdns_uart_console.index = id; #endif rc = uart_register_driver(&cdns_uart_uart_driver); -- 2.26.2