From: Hans de Goede Date: Thu, 3 Oct 2013 22:29:45 +0000 (+0200) Subject: xhci: Free streams when they are still allocated on a set_interface call X-Git-Tag: v3.15-rc1~137^2~26^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df6138347bcde316e4d4b24ae4d9d0296461c79a;p=pandora-kernel.git xhci: Free streams when they are still allocated on a set_interface call And warn about this, as that would be a driver bug. Like wise drivers should ensure that streams are properly free-ed before a device is reset. So lets warn about that too. This already causes warnings in the form of: [ 96.982398] xhci_hcd 0000:01:00.0: WARN Can't disable streams for endpoint 0x81 , streams are already disabled! [ 96.982400] xhci_hcd 0000:01:00.0: WARN xhci_free_streams() called with non-streams endpoint But it is better to also warn about the actual cause of this later warnings. Signed-off-by: Hans de Goede Signed-off-by: Sarah Sharp --- Reading git-diff-tree failed