Received: by 10.213.65.68 with SMTP id h4csp509391imn; Fri, 16 Mar 2018 09:55:57 -0700 (PDT) X-Google-Smtp-Source: AG47ELtnSEXCeqpYHbi6Oz3uWP7OHSfArRLOu9LOSbJ6mMBVDMr+i8M994h8qSxv3MkfV1cy+9pj X-Received: by 10.99.61.204 with SMTP id k195mr1996248pga.312.1521219357330; Fri, 16 Mar 2018 09:55:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521219357; cv=none; d=google.com; s=arc-20160816; b=KunzqJ9b5wupkaVPL6tdlPPnlBJA2A1zeW9fm/auqYyTeGnmSpY2vz1RiVcd3LIEd1 UAtcEbCSO+WVBGwDd7PpWjcy0RzrOZt7HM9TCXNXI6yztx6wuOh3YUlmcad5kkt9j/OH Ox0xztriKf23gVX5U5vAeULq3graHnB6sIbVOT8FgwEEmsl0Ht34v4n32it7rGt0JWsF PE7aiQ5+sKYUN9ONR8hbDDXrCvmpurHS6ckp6u6uybEi8B6yjqIxBjm9b+8+kumxC9eH GkaD4/+Q3ifaiXjTqRGeh0H9TRaAwy/nwTdc3TaOgpokXDn7wq0RoMMxP81TrJZGzEID aEcA== 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=gTG+ss9j6fHZN1nM43YDcXfAfvp3ph4fopCgS8qxDUQ=; b=UeebFsobZwgAw6cbKdNGXEJeIKnDngvA7lHfUXsFOnD5oSZ1dAXILdLyJ78EvZUj/7 dB6PlOa2P7DGxi7T1C3nFkktNmEBddbV3bcsqZXAXScUAd39epvedWxqAKl00Z6WkRH2 ykjVMI8I2KdvtpP8cv/1F6JjovwrdHQRIJagbgjNhovXq69pykOTJdEJirEH8V7ae42y Ec8tHG5ZdxmrvlbTIr8m8ckb8Hxy9xoCsF5ogW8OjV/HGG6aQ7IW33AtcYLNlo1Xpzun RrtYicrtrMEmasQyWGafh2qLrjzN0NWvMHd3N5o8FhrM4gq76BBUemjMbu3+67MURXzY O9eQ== 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 a10-v6si6419415plm.745.2018.03.16.09.55.43; Fri, 16 Mar 2018 09:55:57 -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 S1752907AbeCPQyg (ORCPT + 99 others); Fri, 16 Mar 2018 12:54:36 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:39302 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933896AbeCPPeL (ORCPT ); Fri, 16 Mar 2018 11:34:11 -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 1C3E9DB8; Fri, 16 Mar 2018 15:34:10 +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.14 012/109] tty/serial: atmel: add new version check for usart Date: Fri, 16 Mar 2018 16:22:41 +0100 Message-Id: <20180316152330.531099215@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180316152329.844663293@linuxfoundation.org> References: <20180316152329.844663293@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.14-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 @@ -1763,6 +1763,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;