From 076b7c512872b381cc5eff982cccd47796822cea Mon Sep 17 00:00:00 2001 From: Eldad Zack Date: Wed, 28 Nov 2012 23:55:32 +0100 Subject: [PATCH] --- yaml --- r: 342625 b: refs/heads/master c: fde854bdaf603a99a80b9545c0aaca9ccd02dd31 h: refs/heads/master i: 342623: 47a5fa4d92e633627edb598b5c3f5acc48e63c32 v: v3 --- [refs] | 2 +- trunk/sound/usb/pcm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index e4b2cb0f04e3..83a398f5ad5c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 361dab3ec2c59044f420cdf232523cd4af4e833e +refs/heads/master: fde854bdaf603a99a80b9545c0aaca9ccd02dd31 diff --git a/trunk/sound/usb/pcm.c b/trunk/sound/usb/pcm.c index 7c64b9560b18..f488a493a98e 100644 --- a/trunk/sound/usb/pcm.c +++ b/trunk/sound/usb/pcm.c @@ -384,7 +384,7 @@ static int set_format(struct snd_usb_substream *subs, struct audioformat *fmt) /* ... and check descriptor size before accessing bSynchAddress because there is a version of the SB Audigy 2 NX firmware lacking the audio fields in the endpoint descriptors */ - if ((get_endpoint(alts, 1)->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) != 0x01 || + if ((get_endpoint(alts, 1)->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) != USB_ENDPOINT_XFER_ISOC || (get_endpoint(alts, 1)->bLength >= USB_DT_ENDPOINT_AUDIO_SIZE && get_endpoint(alts, 1)->bSynchAddress != 0 && !implicit_fb)) {