From patchwork Fri Sep 7 08:02:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 11222 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id E61DC23E29 for ; Fri, 7 Sep 2012 08:02:56 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 9274BA1883D for ; Fri, 7 Sep 2012 08:02:56 +0000 (UTC) Received: by ieak11 with SMTP id k11so4269094iea.11 for ; Fri, 07 Sep 2012 01:02:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:mime-version:content-type :x-gm-message-state; bh=uM8h5DNOhdY2JD7BZSe/Oirj41eP+P1ldQHpd37Tf7s=; b=Xkl8gdeAeoEri5m2JSkoM4ikkHlmjcuMD7nqGLXF+B7RURamT3JDcD4QIH6wUXyT1s z1NKoBH4raJ+oSo6HXpD2+VOo7vqJkDinsytLWZ0wWMwxIWM1KtdpKp8kc3SATUsN9tB 28SU/cYhJcuzk97chvk+pprx+BM01d3JlpaPWRL0UVSRL0jKZMVT1nsEniM6qICwCCTW FjrnlCXh/gA3DE0o25xVy+zPmV3k4sTaD/XfBMwwrBeuA64dYIc7XQVC1OtHJc1T+8rv eyXqEvo9ibMFpS6E8ycL4fDYtF6DRMUs1/IdmGd7cqGTvAe/+8jDR3LPgdob9cBjRUTh LU2g== Received: by 10.42.84.69 with SMTP id k5mr5888172icl.5.1347004975998; Fri, 07 Sep 2012 01:02:55 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp365738igc; Fri, 7 Sep 2012 01:02:54 -0700 (PDT) Received: by 10.14.215.193 with SMTP id e41mr6515042eep.44.1347004974054; Fri, 07 Sep 2012 01:02:54 -0700 (PDT) Received: from eu1sys200aog103.obsmtp.com (eu1sys200aog103.obsmtp.com [207.126.144.115]) by mx.google.com with SMTP id y1si3157442eep.18.2012.09.07.01.02.47 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 07 Sep 2012 01:02:54 -0700 (PDT) Received-SPF: neutral (google.com: 207.126.144.115 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) client-ip=207.126.144.115; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.115 is neither permitted nor denied by best guess record for domain of linus.walleij@stericsson.com) smtp.mail=linus.walleij@stericsson.com Received: from beta.dmz-eu.st.com ([164.129.1.35]) (using TLSv1) by eu1sys200aob103.postini.com ([207.126.147.11]) with SMTP ID DSNKUEmqJ79GcDdj6S9IhQ2k+Sge9k5bURw7@postini.com; Fri, 07 Sep 2012 08:02:53 UTC Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 2856F24B; Fri, 7 Sep 2012 08:02:38 +0000 (GMT) Received: from relay2.stm.gmessaging.net (unknown [10.230.100.18]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 8546327E5; Fri, 7 Sep 2012 08:02:38 +0000 (GMT) Received: from exdcvycastm003.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm003", Issuer "exdcvycastm003" (not verified)) by relay2.stm.gmessaging.net (Postfix) with ESMTPS id A5BF6A809D; Fri, 7 Sep 2012 10:02:34 +0200 (CEST) Received: from steludxu4075.lud.stericsson.com (10.230.100.153) by smtp.stericsson.com (10.230.100.1) with Microsoft SMTP Server (TLS) id 8.3.83.0; Fri, 7 Sep 2012 10:02:38 +0200 From: Linus Walleij To: Greg Kroah-Hartman , Cc: , Anmar Oueja , Linus Walleij , Lee Jones , Rajanikanth H.V Subject: [PATCH 1/2] serial: pl011: delete dangling bug flag Date: Fri, 7 Sep 2012 10:02:36 +0200 Message-ID: <1347004956-15294-1-git-send-email-linus.walleij@stericsson.com> X-Mailer: git-send-email 1.7.11.3 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQlCeZLROJ5zGTFrbqKy1m0+Z7DvAv84I+HPHBcjokNvSos2hvjIgHZFGksmWjUmUiNMUBjM From: Linus Walleij The bug flag .interrupt_may_hang is not used since commit 4fd0690bb0c3955983560bb2767ee82e2b197f9b "serial: pl011: implement workaround for CTS clear event issue" so delete it. Cc: Lee Jones Cc: Rajanikanth H.V Signed-off-by: Linus Walleij --- drivers/tty/serial/amba-pl011.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c index 05c15ec..cede938 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c @@ -77,7 +77,6 @@ struct vendor_data { unsigned int lcrh_tx; unsigned int lcrh_rx; bool oversampling; - bool interrupt_may_hang; /* vendor-specific */ bool dma_threshold; bool cts_event_workaround; }; @@ -98,7 +97,6 @@ static struct vendor_data vendor_st = { .lcrh_tx = ST_UART011_LCRH_TX, .lcrh_rx = ST_UART011_LCRH_RX, .oversampling = true, - .interrupt_may_hang = true, .dma_threshold = true, .cts_event_workaround = true, }; @@ -149,7 +147,6 @@ struct uart_amba_port { unsigned int old_cr; /* state during shutdown */ bool autorts; char type[12]; - bool interrupt_may_hang; /* vendor-specific */ #ifdef CONFIG_DMA_ENGINE /* DMA stuff */ bool using_tx_dma; @@ -1952,7 +1949,6 @@ static int pl011_probe(struct amba_device *dev, const struct amba_id *id) uap->lcrh_tx = vendor->lcrh_tx; uap->old_cr = 0; uap->fifosize = vendor->fifosize; - uap->interrupt_may_hang = vendor->interrupt_may_hang; uap->port.dev = &dev->dev; uap->port.mapbase = dev->res.start; uap->port.membase = base;