Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Issue 6822052: USB: cdc-acm: fix deadlock in acm_tty_open (Closed)

Created:
9 years, 8 months ago by Vincent Palatin
Modified:
9 years, 7 months ago
Reviewers:
Benson Leung, Sonny
CC:
chromium-os-reviews_chromium.org, Jason Glasgow
Visibility:
Public.

Description

USB: cdc-acm: fix deadlock in acm_tty_open The mutex must be dropped before calling usb_autopm_interface_put, else a concurrent call to acm_suspend will trigger a deadlock. BUG=chrome-os-partner:3143 TEST=run power_Resume test in tight loops on Alex. Signed-off-by: Vincent Palatin <vpalatin@chromium.org>; Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=1d00bd3

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -2 lines) Patch
M drivers/usb/class/cdc-acm.c View 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Vincent Palatin
[5/5] fix for the issues detected in the CDC ACM driver when running power_Resume test ...
9 years, 8 months ago (2011-04-12 12:22:00 UTC) #1
Sonny
9 years, 8 months ago (2011-04-12 17:41:30 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698