From: Frank Schaefer Date: Mon, 13 Jan 2014 22:02:07 +0000 (-0300) Subject: [media] em28xx: fix check for audio only usb interfaces when changing the usb alterna... X-Git-Tag: v3.14-rc1~20^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0191a2a28cdc34a57fee2c027c101a023f9a61f9;p=pandora-kernel.git [media] em28xx: fix check for audio only usb interfaces when changing the usb alternate setting Previously, we've been assuming that the video endpoints are always at usb interface 0. Hence, if vendor audio endpoints are provided at a separate interface, they were supposed to be at interface number > 0. Instead of checking for (interface number > 0) to determine if an interface is a pure audio interface, dev->is_audio_only should be checked. Signed-off-by: Frank Schäfer Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed