From: Daniel Mack <zonque@gmail.com>
To: alsa-devel@alsa-project.org
Cc: tiwai@suse.de, guido.aulisi@gmail.com, Daniel Mack <zonque@gmail.com>
Subject: [PATCH] ALSA: snd-usb-usx2y: fix start frame mask
Date: Wed, 2 Oct 2013 15:39:57 +0200 [thread overview]
Message-ID: <1380721197-4889-1-git-send-email-zonque@gmail.com> (raw)
This patch is based on a change proposed by Guido Aulisi in a
discussion on LAU which can be followed here:
http://linuxaudio.org/mailarchive/lau/2013/5/20/200177
Cc: fzu@wemgehoertderstaat.de
Original-code-by: Guido Aulisi <guido.aulisi@gmail.com>
Tested-by: Dr Nicholas J Bailey <nicholas.bailey@glasgow.ac.uk>
Signed-off-by: Daniel Mack <zonque@gmail.com>
---
sound/usb/usx2y/usbusx2yaudio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/usb/usx2y/usbusx2yaudio.c b/sound/usb/usx2y/usbusx2yaudio.c
index 63fb521..cd16fcc 100644
--- a/sound/usb/usx2y/usbusx2yaudio.c
+++ b/sound/usb/usx2y/usbusx2yaudio.c
@@ -328,7 +328,7 @@ static void i_usX2Y_urb_complete(struct urb *urb)
usX2Y_error_urb_status(usX2Y, subs, urb);
return;
}
- if (likely((urb->start_frame & 0xFFFF) == (usX2Y->wait_iso_frame & 0xFFFF)))
+ if (likely((urb->start_frame & 0x03FF) == (usX2Y->wait_iso_frame & 0x03FF)))
subs->completed_urb = urb;
else {
usX2Y_error_sequence(usX2Y, subs, urb);
--
1.8.3.1
next reply other threads:[~2013-10-02 13:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-02 13:39 Daniel Mack [this message]
2013-10-02 13:48 ` [PATCH] ALSA: snd-usb-usx2y: fix start frame mask Takashi Iwai
2013-10-02 13:49 ` Daniel Mack
2013-10-03 9:59 ` Guido Aulisi
2013-10-03 14:35 ` Daniel Mack
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1380721197-4889-1-git-send-email-zonque@gmail.com \
--to=zonque@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=guido.aulisi@gmail.com \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.