From: Elina Pasheva Date: Tue, 27 Oct 2009 20:49:59 +0000 (-0700) Subject: USB: serial: sierra driver autopm fixes X-Git-Tag: v2.6.32-rc6~22^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b64dc0a597fd3c66d888df0886635eba210cc19f;p=pandora-kernel.git USB: serial: sierra driver autopm fixes This patch presents fixes for the autosuspend feature implementation in sierra usb serial driver in functions sierra_open(), sierra_close() and stop_read_write_urbs(). The patch "sierra_close() must resume the device before it notifies it of a closure" submitted by Oliver Neukum on Wed, October 14 has been merged as fix in sierra_close() function. The bug fix in sierra_open() function restores the autopm interface state on error condition. The bug fix in in stop_read_write_urbs() function assures that both receive and interrupt urbs are recycled. Signed-off-by: Elina Pasheva Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed