diff options
| author | Takashi Iwai <tiwai@suse.de> | 2016-02-29 14:32:42 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-09 15:34:54 -0800 |
| commit | 8a358d00c8732a110657904a108d022bd073f35d (patch) | |
| tree | ba6a440fb63a3b45d25e1737c87255e48502368b /tools/perf/scripts/python | |
| parent | eb390c30581b9a60dd30ae4c90842f43d3e1b095 (diff) | |
ALSA: hdspm: Fix zero-division
commit c1099c3294c2344110085a38c50e478a5992b368 upstream.
HDSPM driver contains a code issuing zero-division potentially in
system sample rate ctl code. This patch fixes it by not processing
a zero or invalid rate value as a divisor, as well as excluding the
invalid value to be passed via the given ctl element.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
