ALSA: isight: fix divide error when queueing packets
authorClemens Ladisch <clemens@ladisch.de>
Wed, 11 May 2011 08:49:02 +0000 (10:49 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 May 2011 12:51:16 +0000 (14:51 +0200)
commitf2934cd499ba2c7f605787508b4cfcfa3a45b0a4
tree070775d70eed4780c461323b59fcb2626e0b46e7
parent898732d1f1c7181fd3e94e7d7a784edb48d09d95
ALSA: isight: fix divide error when queueing packets

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

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/isight.c