commit | c1099c3294c2344110085a38c50e478a5992b368 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Mon Feb 29 14:32:42 2016 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Feb 29 18:13:34 2016 +0100 |
tree | 7880f491fa9efd1eef7d9ba8643479dd1ee41071 | |
parent | 537e48136295c5860a92138c5ea3959b9542868b [diff] |
ALSA: hdspm: Fix zero-division 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. Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>