git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c7a548
)
ALSA: hda/ca0132 - Avoid division by zero in dspxfr_one_seg()
author
Xi Wang
<xi.wang@gmail.com>
Thu, 7 Mar 2013 05:13:51 +0000
(
00:13
-0500)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 7 Mar 2013 08:18:00 +0000
(09:18 +0100)
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>
No differences found