summaryrefslogtreecommitdiffstats
path: root/sound/spi
diff options
context:
space:
mode:
authorXi Wang <xi.wang@gmail.com>2013-03-07 00:13:51 -0500
committerTakashi Iwai <tiwai@suse.de>2013-03-07 09:18:00 +0100
commit3bc085a12d8f9f3e45a4ac0cc24a34abd5b20657 (patch)
treee4957c34b8cd36f94326724fa777e6b633f5e832 /sound/spi
parent4c7a548a70a44269266858f65c3b5fc9c3ace057 (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>
Diffstat (limited to 'sound/spi')
0 files changed, 0 insertions, 0 deletions