Received: by 10.213.65.68 with SMTP id h4csp465864imn; Fri, 16 Mar 2018 08:35:13 -0700 (PDT) X-Google-Smtp-Source: AG47ELtu7sqLWbAAL7bjSi+Z3cuoyWYQrqHdTceGJ4QGTxi6Y+nsCV/NyxglTKBLr7qPElE9dtGJ X-Received: by 10.101.93.5 with SMTP id e5mr1771603pgr.82.1521214513095; Fri, 16 Mar 2018 08:35:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521214513; cv=none; d=google.com; s=arc-20160816; b=jXukEBfjMFX5MA0rp6sM00IAFvDlpSMl12aaURzMPqS5J940x9MhV/sCFLm6Pbsisj FEp2sSH4wPB4S/FBlPBi3IUSVvqJq8WuqAgYqVsLQYx0mV/8Z4eaLADsyhXFtEB8ypqS OlzOwi9wopoUW+Zevzp0Fl0jFWHiU/kQVr39a/EFTVSc4AeGSABrQD9XAXmUzBs809RL RNoQpRvE7RalFcZo6KDse6tSaaHT07+vGWYTaD3bsiuIzlATIhoqDJlNRCZi3ATszymE blJC5oahgnUuWD8HRgMzNa/Pm1ePwPimgYO+t0uQA7giDST0U5QcrP+Da8Wh4RjGH7lw Dn/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 :arc-authentication-results; bh=xO+mhNWsTgdkbuneA+aaa33VFqpObuGA1nLTLohTxlM=; b=DrvrY9pBXqKC6Gc3MC+XTWxIG7GvRauDjZudijLLFYdZXjfHa8QzK420M5gR8fysI2 pbxrilwXbyFOetbwqMmrlydWdrLXqt8pUPWzt2NURkE7bDuRVGl4o+b8+XOwIjrOhkVk yl+ffBf8q5XvHjOMupe81yAlrC3CtaQHarYChVB0GSF05i2Vk+9CZTrDg0rrdKMWXv8+ 07LoT3MK1C7tlF7Uh/Ekbubgp1YbIRlQjP6Mrh6VVkv8bH3Fbmbz/PwcE1tsLV+ASFoL V08ROjEVVYWw1lcdDCA0gC8V3HJd7lFlkfzFEqzQECbmJbPW0q+cOdGcuqpFKR5AK07O ouFw== 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 k71si5109469pga.68.2018.03.16.08.34.56; Fri, 16 Mar 2018 08:35:13 -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 S933697AbeCPPdI (ORCPT + 99 others); Fri, 16 Mar 2018 11:33:08 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:38262 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932784AbeCPPdG (ORCPT ); Fri, 16 Mar 2018 11:33:06 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 9F55811EE; Fri, 16 Mar 2018 15:33:05 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jonas Danielsson , Richard Genoud , Nicolas Ferre Subject: [PATCH 4.9 74/86] tty/serial: atmel: add new version check for usart Date: Fri, 16 Mar 2018 16:23:37 +0100 Message-Id: <20180316152322.355218175@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180316152317.167709497@linuxfoundation.org> References: <20180316152317.167709497@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.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jonas Danielsson commit fd63a8903a2c40425a9811c3371dd4d0f42c0ad3 upstream. On our at91sam9260 based board the usart0 and usart1 ports report their versions (ATMEL_US_VERSION) as 0x10302. This version is not included in the current checks in the driver. Signed-off-by: Jonas Danielsson Acked-by: Richard Genoud Acked-by: Nicolas Ferre Cc: stable Signed-off-by: Greg Kroah-Hartman --- drivers/tty/serial/atmel_serial.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c @@ -1780,6 +1780,7 @@ static void atmel_get_ip_name(struct uar switch (version) { case 0x302: case 0x10213: + case 0x10302: dev_dbg(port->dev, "This version is usart\n"); atmel_port->has_frac_baudrate = true; atmel_port->has_hw_timer = true;