diff options
author | 2013-03-07 00:13:51 -0500 | |
---|---|---|
committer | 2013-03-07 09:18:00 +0100 | |
commit | 3bc085a12d8f9f3e45a4ac0cc24a34abd5b20657 (patch) | |
tree | e4957c34b8cd36f94326724fa777e6b633f5e832 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ALSA: hda - check NULL pointer when creating SPDIF PCM switch (diff) | |
download | linux-dev-3bc085a12d8f9f3e45a4ac0cc24a34abd5b20657.tar.xz linux-dev-3bc085a12d8f9f3e45a4ac0cc24a34abd5b20657.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions