diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2012-09-07 04:02:36 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-10 19:33:02 -0400 |
commit | fe0ed5b3158b6c5b6e2653348575de8f62f97d27 (patch) | |
tree | 2a46bee29365d42e5c6050c1d7c8a772ccb63fde /drivers/tty/serial | |
parent | 3d39aa6869c3cfc72dccb6c9431ecdb3ad7627ad (diff) |
serial: pl011: delete dangling bug flag
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: Rajanikanth H.V <rajanikanth.hv@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r-- | drivers/tty/serial/amba-pl011.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c index 05c15ec7bd21..cede93876649 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c | |||
@@ -77,7 +77,6 @@ struct vendor_data { | |||
77 | unsigned int lcrh_tx; | 77 | unsigned int lcrh_tx; |
78 | unsigned int lcrh_rx; | 78 | unsigned int lcrh_rx; |
79 | bool oversampling; | 79 | bool oversampling; |
80 | bool interrupt_may_hang; /* vendor-specific */ | ||
81 | bool dma_threshold; | 80 | bool dma_threshold; |
82 | bool cts_event_workaround; | 81 | bool cts_event_workaround; |
83 | }; | 82 | }; |
@@ -98,7 +97,6 @@ static struct vendor_data vendor_st = { | |||
98 | .lcrh_tx = ST_UART011_LCRH_TX, | 97 | .lcrh_tx = ST_UART011_LCRH_TX, |
99 | .lcrh_rx = ST_UART011_LCRH_RX, | 98 | .lcrh_rx = ST_UART011_LCRH_RX, |
100 | .oversampling = true, | 99 | .oversampling = true, |
101 | .interrupt_may_hang = true, | ||
102 | .dma_threshold = true, | 100 | .dma_threshold = true, |
103 | .cts_event_workaround = true, | 101 | .cts_event_workaround = true, |
104 | }; | 102 | }; |
@@ -149,7 +147,6 @@ struct uart_amba_port { | |||
149 | unsigned int old_cr; /* state during shutdown */ | 147 | unsigned int old_cr; /* state during shutdown */ |
150 | bool autorts; | 148 | bool autorts; |
151 | char type[12]; | 149 | char type[12]; |
152 | bool interrupt_may_hang; /* vendor-specific */ | ||
153 | #ifdef CONFIG_DMA_ENGINE | 150 | #ifdef CONFIG_DMA_ENGINE |
154 | /* DMA stuff */ | 151 | /* DMA stuff */ |
155 | bool using_tx_dma; | 152 | bool using_tx_dma; |
@@ -1952,7 +1949,6 @@ static int pl011_probe(struct amba_device *dev, const struct amba_id *id) | |||
1952 | uap->lcrh_tx = vendor->lcrh_tx; | 1949 | uap->lcrh_tx = vendor->lcrh_tx; |
1953 | uap->old_cr = 0; | 1950 | uap->old_cr = 0; |
1954 | uap->fifosize = vendor->fifosize; | 1951 | uap->fifosize = vendor->fifosize; |
1955 | uap->interrupt_may_hang = vendor->interrupt_may_hang; | ||
1956 | uap->port.dev = &dev->dev; | 1952 | uap->port.dev = &dev->dev; |
1957 | uap->port.mapbase = dev->res.start; | 1953 | uap->port.mapbase = dev->res.start; |
1958 | uap->port.membase = base; | 1954 | uap->port.membase = base; |