From patchwork Thu Mar 20 19:30:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 26757 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f200.google.com (mail-ve0-f200.google.com [209.85.128.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 565D920143 for ; Thu, 20 Mar 2014 19:32:40 +0000 (UTC) Received: by mail-ve0-f200.google.com with SMTP id oy12sf3233533veb.7 for ; Thu, 20 Mar 2014 12:32:40 -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=nk8tknFq0MasYY7D84bsxK3vUZyL3NR9heSrC1DSnSs=; b=LHv07BK0gFWkNEDZqtQuH3Un0a4nky2IaNtD5feFg/YDX+Ra9XltA0o0puMu2EIT8C uClnWNl45+HqEYAxBdzsLaMR/flaR21r+R5fsArfh7psCC3nmkw0seajI3TgdPOQYAKh 6Qj+oFKSwCVzak6W2yJtvVvqsDyM1AEE0Dy2dzX2C8AjImNI2vGDsFRDoBC/Cqa14Kjh WJI+UZMYQ3zqR7HcnTZBRKgDg5Bley9BUH8HrqRKi7X85ZiTxSzG1gn9C9pos3Z+ArQc rFWiLef/UBiMWYgERiW+rPdsXifHZkcwZO+93quPFJXKUAhvHRwaybG0X19pdrS5FddT 7wGA== X-Gm-Message-State: ALoCoQlheZbxVyDkjlbn3VfWqZUNqHHDQypanxq2//31neRQrEXLFJDRVLN2N3bLz7eHkYHNgrgv X-Received: by 10.52.2.129 with SMTP id 1mr5986612vdu.4.1395343960055; Thu, 20 Mar 2014 12:32:40 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.16.165 with SMTP id 34ls352797qgb.30.gmail; Thu, 20 Mar 2014 12:32:40 -0700 (PDT) X-Received: by 10.220.69.133 with SMTP id z5mr1491214vci.49.1395343959951; Thu, 20 Mar 2014 12:32:39 -0700 (PDT) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx.google.com with ESMTPS id wt4si632080vcb.148.2014.03.20.12.32.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Mar 2014 12:32:39 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.170; Received: by mail-ve0-f170.google.com with SMTP id pa12so1502870veb.15 for ; Thu, 20 Mar 2014 12:32:39 -0700 (PDT) X-Received: by 10.52.104.33 with SMTP id gb1mr1418636vdb.45.1395343959854; Thu, 20 Mar 2014 12:32:39 -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.78.9 with SMTP id i9csp413903vck; Thu, 20 Mar 2014 12:32:39 -0700 (PDT) X-Received: by 10.66.146.229 with SMTP id tf5mr49694854pab.50.1395343958971; Thu, 20 Mar 2014 12:32:38 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id tm7si2123119pac.65.2014.03.20.12.32.38; Thu, 20 Mar 2014 12:32:38 -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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965227AbaCTTcR (ORCPT + 26 others); Thu, 20 Mar 2014 15:32:17 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:53504 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757067AbaCTTcI (ORCPT ); Thu, 20 Mar 2014 15:32:08 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id s2KJW6Gf012748; Thu, 20 Mar 2014 14:32:06 -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 s2KJW5If018082; Thu, 20 Mar 2014 14:32:06 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Thu, 20 Mar 2014 14:32:05 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s2KJW5xd029399; Thu, 20 Mar 2014 14:32:05 -0500 From: Felipe Balbi To: Greg KH CC: , , , , , Linux OMAP Mailing List , Linux Kernel Mailing List , Felipe Balbi Subject: [PATCH 11/11] serial: fix UART_IIR_ID Date: Thu, 20 Mar 2014 14:30:07 -0500 Message-ID: <1395343807-21618-11-git-send-email-balbi@ti.com> X-Mailer: git-send-email 1.9.1.286.g5172cb3 In-Reply-To: <1395343807-21618-1-git-send-email-balbi@ti.com> References: <1395343807-21618-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: 209.85.128.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) 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 */