From patchwork Wed Apr 23 14:58:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 28910 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f197.google.com (mail-qc0-f197.google.com [209.85.216.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 82748203AC for ; Wed, 23 Apr 2014 15:22:11 +0000 (UTC) Received: by mail-qc0-f197.google.com with SMTP id i8sf3900561qcq.8 for ; Wed, 23 Apr 2014 08:22:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=gIsbUgvr5GYn8lMQEzGlzZi05ejf9BnLok+L+23z68U=; b=hcTdXHnWwr7ywkxDrOwgBx6ZwW01V9A9tiHPjEHTI8bvIsGsgzdjZTUXrobam5ZlXf gLaopOdodQO7zu81zkrUKFd3DQp+gCWkTCjn2kwgUa3zLGtYhNqdwgAsDrLb03tT4CBD KFYqXJ1hDJSs0Aj8fl3mBnKkgYYCitPHll6a+g/UA7UxBslCEPhhgp+TSj/OEUUONkZf rNC9QpLyVqB33n649Y0hjOcE7946EhXzhl1kxWik3kRvAUXeAKbhLPFSZTdONidxoQ89 9gMxXGaiFZBXpT9YwEuyH9DAQv0SAWe97WrXViFtXZhKtVw7NMJ7ujXFE5uzOyj5h2if T/sg== X-Gm-Message-State: ALoCoQnjTB85MHR2D3N/IWpVp+epXuAS1Rrqr1VVHkcUBj3fCTspTZUZ9EmxNeV8PjpZM85ohqmI X-Received: by 10.58.178.81 with SMTP id cw17mr24502468vec.37.1398266531264; Wed, 23 Apr 2014 08:22:11 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.101.213 with SMTP id u79ls653704qge.79.gmail; Wed, 23 Apr 2014 08:22:11 -0700 (PDT) X-Received: by 10.58.105.105 with SMTP id gl9mr45659467veb.3.1398266531180; Wed, 23 Apr 2014 08:22:11 -0700 (PDT) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx.google.com with ESMTPS id fv9si223531vcb.128.2014.04.23.08.22.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Apr 2014 08:22:11 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.128.175; Received: by mail-ve0-f175.google.com with SMTP id oz11so1316404veb.20 for ; Wed, 23 Apr 2014 08:22:11 -0700 (PDT) X-Received: by 10.220.7.131 with SMTP id d3mr490301vcd.45.1398266531114; Wed, 23 Apr 2014 08:22:11 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp112244vcb; Wed, 23 Apr 2014 08:22:09 -0700 (PDT) X-Received: by 10.43.49.195 with SMTP id vb3mr18507002icb.14.1398266529343; Wed, 23 Apr 2014 08:22:09 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ci3si810200pad.209.2014.04.23.08.22.08; Wed, 23 Apr 2014 08:22:08 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932254AbaDWPVe (ORCPT + 27 others); Wed, 23 Apr 2014 11:21:34 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:57220 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757022AbaDWPBL (ORCPT ); Wed, 23 Apr 2014 11:01:11 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id s3NF13Gl026186; Wed, 23 Apr 2014 10:01:03 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s3NF13I1021673; Wed, 23 Apr 2014 10:01:03 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Wed, 23 Apr 2014 10:01:03 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s3NF12jf017387; Wed, 23 Apr 2014 10:01:02 -0500 From: Felipe Balbi To: Greg KH CC: , , , , , Linux Kernel Mailing List , , , , Linux OMAP Mailing List , Tony Lindgren , Felipe Balbi Subject: [PATCH 04/13] serial: fix UART_IIR_ID Date: Wed, 23 Apr 2014 09:58:28 -0500 Message-ID: <1398265117-11793-4-git-send-email-balbi@ti.com> X-Mailer: git-send-email 1.9.2.459.g68773ac In-Reply-To: <1398265117-11793-1-git-send-email-balbi@ti.com> References: <1398265117-11793-1-git-send-email-balbi@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: balbi@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , UART IRQ Identification bitfield is 3 bits long (bits 3:1) but current mask only masks 2 bits. Fix it. Signed-off-by: Felipe Balbi --- include/uapi/linux/serial_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/serial_reg.h b/include/uapi/linux/serial_reg.h index e632260..99b4705 100644 --- a/include/uapi/linux/serial_reg.h +++ b/include/uapi/linux/serial_reg.h @@ -32,7 +32,7 @@ #define UART_IIR 2 /* In: Interrupt ID Register */ #define UART_IIR_NO_INT 0x01 /* No interrupts pending */ -#define UART_IIR_ID 0x06 /* Mask for the interrupt ID */ +#define UART_IIR_ID 0x0e /* Mask for the interrupt ID */ #define UART_IIR_MSI 0x00 /* Modem status interrupt */ #define UART_IIR_THRI 0x02 /* Transmitter holding register empty */ #define UART_IIR_RDI 0x04 /* Receiver data interrupt */