summaryrefslogtreecommitdiffstats
path: root/sound/usb/endpoint.c
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2016-08-22 08:53:36 +0200
committerTakashi Iwai <tiwai@suse.de>2016-08-22 11:39:42 +0200
commit9abc134167249ded16a8c776813121609610f119 (patch)
treea823e949ac7d66559780d1e9182ad9ec1537d9b4 /sound/usb/endpoint.c
parente12ec251e4db472e00df2aaefc13430efa25b5ea (diff)
downloadop-kernel-dev-9abc134167249ded16a8c776813121609610f119.zip
op-kernel-dev-9abc134167249ded16a8c776813121609610f119.tar.gz
ALSA: usb: move udh01_fb_quirk setting to quirks.c
That's a quirk, after all, so move it where to all the other quirks live. Signed-off-by: Daniel Mack <daniel@zonque.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/endpoint.c')
-rw-r--r--sound/usb/endpoint.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/usb/endpoint.c b/sound/usb/endpoint.c
index c07a7ed..4b4ffa0 100644
--- a/sound/usb/endpoint.c
+++ b/sound/usb/endpoint.c
@@ -502,10 +502,6 @@ struct snd_usb_endpoint *snd_usb_add_endpoint(struct snd_usb_audio *chip,
ep->syncinterval = 3;
ep->syncmaxsize = le16_to_cpu(get_endpoint(alts, 1)->wMaxPacketSize);
-
- if (chip->usb_id == USB_ID(0x0644, 0x8038) /* TEAC UD-H01 */ &&
- ep->syncmaxsize == 4)
- ep->udh01_fb_quirk = 1;
}
list_add_tail(&ep->list, &chip->ep_list);
OpenPOWER on IntegriCloud