Xi Wang 3bc085a12d 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>
2013-03-07 09:18:00 +01:00
..
2012-11-04 09:20:58 +01:00
2012-12-07 07:29:45 +01:00
2013-02-22 23:31:31 -05:00
2012-12-07 07:33:30 +01:00
2012-12-07 07:33:47 +01:00
2013-02-22 23:31:31 -05:00