commit | 145d92e77e6f34f53773fdb06789816ec2b6c7b3 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Sep 23 12:42:28 2015 +0300 |
committer | Takashi Iwai <tiwai@suse.de> | Thu Sep 24 11:46:25 2015 +0200 |
tree | 4c0ac01ee00cc28a07d8e67c7de643b90623b435 | |
parent | 13f3a46d2a6cbdff1bbb06fac6de7dce753db8e1 [diff] |
ALSA: core: check for underflow in snd_pcm_sw_params() As far as I can see, having an invalid ->tstamp_mode is harmless, but adding a check silences a static checker warning. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>