summaryrefslogtreecommitdiffstats
path: root/net/ipv4/ipip.c
diff options
context:
space:
mode:
authorFrank Schaefer <fschaefer.oss@googlemail.com>2014-01-13 19:02:07 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-14 19:25:17 -0200
commit0191a2a28cdc34a57fee2c027c101a023f9a61f9 (patch)
treec60c2e42b6897b16414d74d61c01a7dae15249dd /net/ipv4/ipip.c
parent961717b41bc1103dcd30d293fd689a614fbfa90c (diff)
downloadop-kernel-dev-0191a2a28cdc34a57fee2c027c101a023f9a61f9.zip
op-kernel-dev-0191a2a28cdc34a57fee2c027c101a023f9a61f9.tar.gz
[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 <fschaefer.oss@googlemail.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'net/ipv4/ipip.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud