From df68afb90e4a295337622a12b2caae7c6c734bbd Mon Sep 17 00:00:00 2001 From: Kiran Gunda Date: Thu, 13 Mar 2014 16:40:30 +0530 Subject: 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 --- drivers/tty/serial/msm_serial_hs.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'drivers/tty') 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 */ -- cgit v1.2.3