Received: by 10.213.65.68 with SMTP id h4csp462779imn; Fri, 16 Mar 2018 08:30:06 -0700 (PDT) X-Google-Smtp-Source: AG47ELuikmXyLpv2c/EnUPT9W3yK3MvCV7rafpTUtJE9pbwsCq59MfS6eavk/UFEqT4VR2zhDZSh X-Received: by 2002:a17:902:6bc6:: with SMTP id m6-v6mr2616829plt.112.1521214206279; Fri, 16 Mar 2018 08:30:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521214206; cv=none; d=google.com; s=arc-20160816; b=pbJmGn9xVkmFrYROnjA0TV9frAnneEvkLrUxPWAvZN+JAmbahS7Zk5juBApZCUonz0 Mq01ODZvZww/ryQngn8bFfP8l0sRNVkT5uvpzjPC2Gxo9886OhACnquvzLElg9FuRovx xWFQjLHNSn47UzBlGPVPCutyf42dXCddreSCgim0tdSezxew9kNEBh5MyWLv1N7t+rJe 8xax7zKhi9XhgfLoXtR4jNQz9tELDIRxvYo95Pp+RUuATfXNy3QXJvcnPbRm8zks343D Hp+hrRtDDIwaFoywQygiD7hLpvc5XA6UG1qS9zMWwhR5aGJdNUhDOwbGL26+frTlLlUV 1l4g== 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=F2VYcTgibuNylsGby8T3ykZLuX3kT0zY4eiQULnVy00=; b=MgIP1p08tQNuIMClXfsKQO8o4Q/kGFJj9+j8G9XXIdUp7huw0hQtd2CfqYCBFTAqmt 6IP4sk7ul2Zzvzdn4xSyhSTYqqOWOZIDuspUBjyPwxwJvwQCoF7K/qTHDyQ4hjIRv6bc 7NMeVcJDNRE4RKUJcC/715ebM7n5L60XfUuDokI8CM9v9BsBBSCdW+jCM82ag1ob1tUc 4UafuHBaft33K9fBdfsdDajSPxlzxXcx37ldO4eLsXErOsk3x5QA2u/LWyzehkwlozMV 04XEBoxojWpk9tBRwrRBSyAhjomw5ragY0HPvp74vV7nxvMGG+pBxQlqnhpDrdV0hflh goIw== 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 t11-v6si6330523plr.411.2018.03.16.08.29.52; Fri, 16 Mar 2018 08:30:06 -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 S932967AbeCPP27 (ORCPT + 99 others); Fri, 16 Mar 2018 11:28:59 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:35956 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754246AbeCPP2z (ORCPT ); Fri, 16 Mar 2018 11:28:55 -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 A373DC8A; Fri, 16 Mar 2018 15:28:54 +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.4 53/63] tty/serial: atmel: add new version check for usart Date: Fri, 16 Mar 2018 16:23:25 +0100 Message-Id: <20180316152305.778116438@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180316152259.964532775@linuxfoundation.org> References: <20180316152259.964532775@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: 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 @@ -1783,6 +1783,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->is_usart = true; break;