summaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorKiran Gunda <kgunda@codeaurora.org>2014-03-13 16:40:30 +0530
committerKiran Gunda <kgunda@codeaurora.org>2014-03-13 16:40:30 +0530
commitdf68afb90e4a295337622a12b2caae7c6c734bbd (patch)
tree7d065bd7d1f12d029c673ae79b5e8bdc82136b0b /drivers/tty
parent879cdf53f929b3ce3fe96d2402505233ce8a2078 (diff)
msm_serial_hs: Remove extra irq enable/disable
IRQs are disabled/enabled twice in the clock off and clock on operations. This patch removes the extra irq operations. Change-Id: I4325bfe8792b1f97f232ac26c17ab17c4ddffa6e Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/msm_serial_hs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/serial/msm_serial_hs.c b/drivers/tty/serial/msm_serial_hs.c
index 5607191b3a4c..a0efd6206bdb 100644
--- a/drivers/tty/serial/msm_serial_hs.c
+++ b/drivers/tty/serial/msm_serial_hs.c
@@ -2211,7 +2211,6 @@ static int msm_hs_check_clock_off(struct uart_port *uport)
*/
disable_irq(uport->irq);
}
- disable_irq(uport->irq);
wake_unlock(&msm_uport->dma_wake_lock);
spin_unlock_irqrestore(&uport->lock, flags);
@@ -2406,7 +2405,6 @@ void msm_hs_request_clock_on(struct uart_port *uport)
mutex_lock(&msm_uport->clk_mutex);
spin_lock_irqsave(&uport->lock, flags);
- enable_irq(uport->irq);
if (msm_uport->clk_state == MSM_HS_CLK_REQUEST_OFF) {
/* Pulling RFR line high */