Commit f2934cd4 authored by Clemens Ladisch's avatar Clemens Ladisch Committed by Takashi Iwai
Browse files

ALSA: isight: fix divide error when queueing packets

Set the .header_size field when queueing packets to avoid a division by

Signed-off-by: default avatarClemens Ladisch <>
Signed-off-by: default avatarTakashi Iwai <>
parent 898732d1
......@@ -82,6 +82,7 @@ MODULE_LICENSE("GPL v2");
static struct fw_iso_packet audio_packet = {
.payload_length = sizeof(struct audio_payload),
.interrupt = 1,
.header_length = 4,
static void isight_update_pointers(struct isight *isight, unsigned int count)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment