Takashi Iwai
4f8e940095
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>
2014-04-08 16:58:34 +02:00
..
2011-10-31 19:31:21 -04:00
2012-12-07 07:20:55 +01:00
2007-10-16 16:51:18 +02:00
2014-02-26 16:45:27 +01:00
2007-05-11 16:55:49 +02:00
2014-04-04 16:22:34 +02:00
2010-12-09 08:40:01 +01:00
2012-01-11 08:56:59 +01:00
2014-02-26 16:45:27 +01:00
2008-04-24 12:00:40 +02:00
2012-12-07 07:20:55 +01:00
2007-10-16 16:51:18 +02:00
2014-04-08 16:58:34 +02:00
2012-10-18 08:14:50 +02:00
2014-02-26 16:45:27 +01:00
2014-02-26 16:45:27 +01:00
2007-05-11 16:55:49 +02:00
2012-10-17 09:01:32 +02:00
2012-12-07 07:20:55 +01:00
2009-05-06 17:33:19 +02:00
2012-12-07 07:20:55 +01:00
2008-09-09 09:11:44 +02:00
2012-12-07 07:20:55 +01:00
2007-05-11 16:55:49 +02:00
2014-02-26 16:45:27 +01:00
2007-05-11 16:55:58 +02:00
2012-12-07 07:20:55 +01:00
2008-01-31 17:30:03 +01:00
2013-10-29 15:26:12 +01:00
2012-10-17 09:01:32 +02:00
2014-02-26 16:45:27 +01:00
2009-09-21 15:49:04 +02:00
2013-02-25 09:52:07 +01:00
2007-05-11 16:55:49 +02:00
2012-12-07 07:20:55 +01:00
2008-01-31 17:29:09 +01:00
2005-04-16 15:20:36 -07:00
2012-12-07 07:20:55 +01:00
2007-05-11 16:55:49 +02:00
2013-10-29 16:46:36 +01:00
2012-10-17 09:23:51 +02:00
2013-10-29 16:46:36 +01:00
2012-10-17 09:23:51 +02:00
2012-12-07 07:20:55 +01:00
2008-09-09 09:11:39 +02:00