From: Antti Palosaari Date: Sat, 1 Sep 2012 12:54:43 +0000 (-0300) Subject: [media] rtl28xxu: correct usb_clear_halt() usage X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~3^2^2~235 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b03663644002a6c742dd38dbdc8300da85293da;p=pandora-kernel.git [media] rtl28xxu: correct usb_clear_halt() usage It is not allowed to call usb_clear_halt() after urbs are submitted. That causes oops sometimes. Move whole streaming_ctrl() logic to power_ctrl() in order to avoid wrong usb_clear_halt() use. Also, configuring streaming endpoint in streaming_ctrl() sounds like a little bit wrong as it is aimed for control stream gate. Reported-by: Hin-Tak Leung Signed-off-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed