linux/sound/pci/ice1712
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
..
ak4xxx.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
amp.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
amp.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
aureon.c ALSA: ice17xx: Use standard printk helpers 2014-02-26 16:45:27 +01:00
aureon.h
delta.c ALSA: ice1712: restore AK4xxx volumes on resume 2014-04-04 16:22:34 +02:00
delta.h ALSA: ice1712 - working M-Audio Delta 66E support 2010-12-09 08:40:01 +01:00
envy24ht.h ALSA: ice1724 - Create capture pcm only for ADC-enabled configurations 2012-01-11 08:56:59 +01:00
ews.c ALSA: ice17xx: Use standard printk helpers 2014-02-26 16:45:27 +01:00
ews.h [ALSA] ice1712 - Add Terrasoniq TS88 support 2008-04-24 12:00:40 +02:00
hoontech.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
hoontech.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
ice1712.c ALSA: ice1712: Fix boundary checks in PCM pointer ops 2014-04-08 16:58:34 +02:00
ice1712.h ALSA: ice17xx: Fix inclusion of linux/io.h 2012-10-18 08:14:50 +02:00
ice1724.c ALSA: ice17xx: Use standard printk helpers 2014-02-26 16:45:27 +01:00
juli.c ALSA: ice17xx: Use standard printk helpers 2014-02-26 16:45:27 +01:00
juli.h
Makefile ALSA: ice1712: Add Philips PSC724 Ultimate Edge 2012-10-17 09:01:32 +02:00
maya44.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
maya44.h ALSA: ice1724 - Add ESI Maya44 support 2009-05-06 17:33:19 +02:00
phase.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
phase.h ALSA: ice1712/ice1724: Coding style fixes part 1 (more coming up) 2008-09-09 09:11:44 +02:00
pontis.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
pontis.h
prodigy192.c ALSA: ice17xx: Use standard printk helpers 2014-02-26 16:45:27 +01:00
prodigy192.h
prodigy_hifi.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
prodigy_hifi.h [ALSA] ice1724 - Add missing prodigy_hifi.h 2008-01-31 17:30:03 +01:00
psc724.c ALSA: Use strlcpy() instead of strncpy() 2013-10-29 15:26:12 +01:00
psc724.h ALSA: ice1712: Add Philips PSC724 Ultimate Edge 2012-10-17 09:01:32 +02:00
quartet.c ALSA: ice17xx: Use standard printk helpers 2014-02-26 16:45:27 +01:00
quartet.h ALSA: ice1724 - Infrasonic Quartet support 2009-09-21 15:49:04 +02:00
revo.c ALSA: ice1724: M-Audio Audiophile192: Fix SPDIF input 2013-02-25 09:52:07 +01:00
revo.h
se.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
se.h [ALSA] ice1724 - Add support of Onkyo SE-90PCI and SE-200PCI 2008-01-31 17:29:09 +01:00
stac946x.h
vt1720_mobo.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
vt1720_mobo.h
wm8766.c ALSA: ice1724: Fix uninitialized variable access 2013-10-29 16:46:36 +01:00
wm8766.h ALSA: ice17xx: Constify strings and string arrays 2012-10-17 09:23:51 +02:00
wm8776.c ALSA: ice1724: Fix uninitialized variable access 2013-10-29 16:46:36 +01:00
wm8776.h ALSA: ice17xx: Constify strings and string arrays 2012-10-17 09:23:51 +02:00
wtm.c ALSA: pci: remove __dev* attributes 2012-12-07 07:20:55 +01:00
wtm.h ALSA: ice1712/wtm: fix coding style 2008-09-09 09:11:39 +02:00