Received: by 10.213.65.68 with SMTP id h4csp495830imn; Fri, 16 Mar 2018 09:29:30 -0700 (PDT) X-Google-Smtp-Source: AG47ELt9QwXJthFFlYhcMJOciEbbqyXJA5uMaUYNNeW3vtx2iCJp0DObp1+hlMkRipI04Vmt23UQ X-Received: by 2002:a17:902:12e:: with SMTP id 43-v6mr2724124plb.77.1521217770091; Fri, 16 Mar 2018 09:29:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521217770; cv=none; d=google.com; s=arc-20160816; b=FR/dpO6TlyXp3AnCi04QbuX0KSNkEO2uX9/DvZLe4j7KX/ODorK3dSiMix8WDkmAZ8 nnOFGBlMb5OTp83AFj9aTVXrySVSvbOmVqZcnyTOm+0X0SmeXOv8XnNqs2mE1N7uHu0X 0biGRIH4WQvM2fB703f0SwHeEDjoRCM+4it+/p+WyRoFvEPszomUQDsCY/dEcAwA9QW5 ysblczsyUbyGhLBdA2QmxHxKkAgmNPajtGWvfhG1NMy8SYQGPPHGZ2w8dKld3pMgPN0E KsJudfE2L4LjfZ9O7emBo+mmklmLHlA/T/fQ08loxa4z2TcxIyqxdMYTI9sVi+l092Pg FpOg== 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=g/8uKwkASSH5efnACdmKVuXav/gpGlFJbkS/7tibMDQ=; b=A73QjL++F3IOClbt9fGeODBwOQXRV3i59zlQb+i3gQWhDe9iSSh0rlvy2QEAXsfqim AOnA2aMD3sW/eQKiEHirkb/pSizBVcrF/qJEicyNsII5LaI8Gu72tXfx5PXAs1jgIGiX 1tHyt56PuQeW72VQSrRGDS3nZN1gwfNlbt0/xLgMCeSOTJyAlzzAArQc+6eN/R/4BhBn LjaYx7OTV/9JMVC/bBlsejPuIQl4vzCk20O/cSncnm0gtFXBt5+zk/bePtmraXTaYE4/ joZQlMVjll1alXw/suYZONlxRHqLjcOZIVNcAt2oQinwthKiRJPqRo6TUlNYFXRRrDJt rBBw== 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 u2-v6si6460580plm.476.2018.03.16.09.29.15; Fri, 16 Mar 2018 09:29:30 -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 S1752324AbeCPQ0y (ORCPT + 99 others); Fri, 16 Mar 2018 12:26:54 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:43216 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754585AbeCPPjU (ORCPT ); Fri, 16 Mar 2018 11:39:20 -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 24138CD9; Fri, 16 Mar 2018 15:39:19 +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.15 010/128] tty/serial: atmel: add new version check for usart Date: Fri, 16 Mar 2018 16:22:31 +0100 Message-Id: <20180316152336.734472479@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180316152336.199007505@linuxfoundation.org> References: <20180316152336.199007505@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.15-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 @@ -1734,6 +1734,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;