Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2246502imm; Thu, 7 Jun 2018 07:39:14 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKGMVk3lKfCI5Hfgj6UT8SdxQ/1sFFtp3yLO8FGMAwZhV5GJPU6ZcIyjYLEwttbrx2bApqy X-Received: by 2002:a65:468e:: with SMTP id h14-v6mr1782884pgr.89.1528382354864; Thu, 07 Jun 2018 07:39:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528382354; cv=none; d=google.com; s=arc-20160816; b=M3E8LpeuIve83eHV/6faM7H+eY3Pfy7+PGk0kr9PYcrzXwvUUs1Wv7DRTH7E0v/2pR lbjCO4GYwb6LtYNJlfdUXxbqbqX+0i+IrHPsk7jht1yK+9X0Gs0CU3TdQPxflajRT5JH i5pO8G8p5MYjVjcSuoB7keAy73huk4ox25ytVz0jC6AHVBArRHT8oZMCw87ltojCaZ49 Yht9MNv63Pi6dBwmi3BiB2ZaSLSKS0dnKAwseSr2O9UwVlXe0r68bgGa/aKJQv+cg3JY 2eCl/6qJiPtk/4SJKyYcmEnT3Q92I016IOgJhT5HDmrQO+S1/dlXpL1k+GwaUKVS7TRk NQWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition :arc-authentication-results; bh=qVepmvY4qUnZz0UeMe/W7NNQehe4wbBBHusIw0XRZ/g=; b=G4pIvlJHfZqaVKI+ZdiVvX1yDJcg3kDHMvhDnr8VK+dazHVKfFg1E7gQL8+R/Ej1go vJydmwWbRJpjzmvss/sW5O7WXRFnmvP70eicbcEunS4yNtudZYJ0z9BLxDH2j1s3mirU z4Qv2iwiacZzk+vDxmdjgNQpjVLzUh7KGEVkp1RGnuK1gdPvsA2yEY/O9EIW1NUIWk/p bE0ipNhM3HlH/MW3NTXUmtJRcOI5xKUQMUT9zReK/nGrXk7nua5Xv9hfrF5O/USOiKTy ugF0dV4iiKyFLTipoBkcMGQVlmPoJWbuFJwrIor/tGh55vv9m6m1FBYYG1JY7hcxRY1F 7Djg== 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 g65-v6si27422004pfa.304.2018.06.07.07.39.00; Thu, 07 Jun 2018 07:39:14 -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 S934171AbeFGOhw (ORCPT + 99 others); Thu, 7 Jun 2018 10:37:52 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:40453 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933974AbeFGOhs (ORCPT ); Thu, 7 Jun 2018 10:37:48 -0400 Received: from [148.252.241.226] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1fQvbX-0005Zp-As; Thu, 07 Jun 2018 15:09:31 +0100 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1fQvbA-0003AA-Lx; Thu, 07 Jun 2018 15:09:08 +0100 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Richard Genoud" , "Greg Kroah-Hartman" , "Jonas Danielsson" , "Nicolas Ferre" Date: Thu, 07 Jun 2018 15:05:21 +0100 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 306/410] tty/serial: atmel: add new version check for usart In-Reply-To: X-SA-Exim-Connect-IP: 148.252.241.226 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.57-rc1 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 Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- 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 @@ -1644,6 +1644,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;