From c5874208ff78a5180ef0456caa117704983f3a45 Mon Sep 17 00:00:00 2001 From: Frank Schaefer Date: Sat, 13 Sep 2014 05:52:20 -0300 Subject: [PATCH] [media] em28xx: simplify usb audio class handling MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit As far as we know devices can either have audio class or vendor class usb interfaces but not both at the same time. Even if both interface types could be provided by devices at the same time, the current code is totally broken for that case. So clean up and simplify the usb audio class handling by replacing fields "has_audio_class" (device has usb audio class compliant interface) and "has_alsa_audio" (device has vendor audio interface) in struct em28xx with a single enum em28xx_usb_audio_type. Signed-off-by: Frank Schäfer Signed-off-by: Mauro Carvalho Chehab --- Reading git-format-patch failed