Skip to content

Commit

Permalink
usb: chipidea: fix id change handling
Browse files Browse the repository at this point in the history
Re-enable chipidea irq even if there's no role changing to do. This is
a problem since b183c19 ("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>
  • Loading branch information
Alexander Shishkin authored and Greg Kroah-Hartman committed Jun 11, 2013
1 parent d343f4e commit 0c3f3dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/usb/chipidea/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0c3f3dc

Please sign in to comment.