diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-04-08 16:58:34 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-04-08 16:58:34 +0200 |
commit | 4f8e940095536bc002a81666a4107a581c84e9b9 (patch) | |
tree | ac00fa04d730f553a397a1aa93e9b035cd01da47 /mm | |
parent | dcb32ecd9a533f47ab652c5c5680bc50a7a822cd (diff) | |
download | linux-4f8e940095536bc002a81666a4107a581c84e9b9.tar.bz2 |
ALSA: ice1712: Fix boundary checks in PCM pointer ops
PCM pointer callbacks in ice1712 driver check the buffer size boundary
wrongly between bytes and frames. This leads to PCM core warnings
like:
snd_pcm_update_hw_ptr0: 105 callbacks suppressed
ALSA pcm_lib.c:352 BUG: pcmC3D0c:0, pos = 5461, buffer size = 5461, period size = 2730
This patch fixes these checks to be placed after the proper unit
conversions.
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions