commit | 3bc085a12d8f9f3e45a4ac0cc24a34abd5b20657 | [log] [tgz] |
---|---|---|
author | Xi Wang <xi.wang@gmail.com> | Thu Mar 07 00:13:51 2013 -0500 |
committer | Takashi Iwai <tiwai@suse.de> | Thu Mar 07 09:18:00 2013 +0100 |
tree | e4957c34b8cd36f94326724fa777e6b633f5e832 | |
parent | 4c7a548a70a44269266858f65c3b5fc9c3ace057 [diff] |
ALSA: hda/ca0132 - Avoid division by zero in dspxfr_one_seg() Move the zero check `hda_frame_size_words == 0' before the modulus `buffer_size_words % hda_frame_size_words'. Also remove the redundant null check `buffer_addx == NULL'. Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>