summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2013-06-11 13:41:48 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-11 16:18:05 -0700
commit0c3f3dc68bb6e6950e8cd7851e7778c550e8dfb4 (patch)
tree62aae942e312f6b6d03346d6ceb443a65d896a51 /drivers
parentd343f4e8d6e4e4237b25b32e4f6a09d1281d4ca3 (diff)
downloadlinux-0c3f3dc68bb6e6950e8cd7851e7778c550e8dfb4.tar.gz
linux-0c3f3dc68bb6e6950e8cd7851e7778c550e8dfb4.tar.bz2
linux-0c3f3dc68bb6e6950e8cd7851e7778c550e8dfb4.zip
usb: chipidea: fix id change handling
Re-enable chipidea irq even if there's no role changing to do. This is a problem since b183c19f ("USB: chipidea: re-order irq handling to avoid unhandled irqs"); when it manifests, chipidea irq gets disabled for good. Cc: stable@vger.kernel.org # v3.7 Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/chipidea/core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c
index 49b098bedf9b..475c9c114689 100644
--- a/drivers/usb/chipidea/core.c
+++ b/drivers/usb/chipidea/core.c
@@ -276,8 +276,9 @@ static void ci_role_work(struct work_struct *work)
ci_role_stop(ci);
ci_role_start(ci, role);
- enable_irq(ci->irq);
}
+
+ enable_irq(ci->irq);
}
static irqreturn_t ci_irq(int irq, void *data)