android_kernel_google_msm/sound/pci/ice1712
Takashi Iwai f4a8f6c0d3 ALSA: ice1712: Fix boundary checks in PCM pointer ops
commit 4f8e940095 upstream.

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.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-06 07:51:40 -07:00
..
ak4xxx.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
amp.c ALSA: ice1724 - Check for ac97 to avoid kernel oops 2012-01-08 14:26:01 +01:00
amp.h
aureon.c Fix common misspellings 2011-03-31 11:26:23 -03:00
aureon.h
delta.c ALSA: ice1712 delta - initialize SPI clock 2011-01-18 15:25:16 +01: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
ews.h
hoontech.c
hoontech.h
ice1712.c ALSA: ice1712: Fix boundary checks in PCM pointer ops 2014-05-06 07:51:40 -07:00
ice1712.h Merge branch 'topic/hda' into for-linus 2009-12-04 16:22:45 +01:00
ice1724.c ALSA: ice1724 - constrain runtime rates for locked internal rate 2012-03-05 14:53:58 +01:00
juli.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2009-12-09 19:43:33 -08:00
juli.h
Makefile ALSA: ice1724 - Infrasonic Quartet support 2009-09-21 15:49:04 +02:00
maya44.c ALSA: ice1724 - Fix ESI Maya44 capture source control 2010-05-12 16:43:32 +02:00
maya44.h ALSA: ice1724 - Add ESI Maya44 support 2009-05-06 17:33:19 +02:00
phase.c ALSA: ice1712/ice1724: Coding style fixes part 1 (more coming up) 2008-09-09 09:11:44 +02:00
phase.h ALSA: ice1712/ice1724: Coding style fixes part 1 (more coming up) 2008-09-09 09:11:44 +02:00
pontis.c Fix common misspellings 2011-03-31 11:26:23 -03:00
pontis.h
prodigy192.c sound: Remove unnecessary casts of private_data 2010-09-07 08:05:59 +02:00
prodigy192.h
prodigy_hifi.c ALSA: ice1724: Use linear scale for AK4396 volume control. 2012-10-02 10:29:52 -07:00
prodigy_hifi.h
quartet.c ALSA: ice1724 - Infrasonic Quartet support 2009-09-21 15:49:04 +02:00
quartet.h ALSA: ice1724 - Infrasonic Quartet support 2009-09-21 15:49:04 +02:00
revo.c ALSA: ice1712/ice1724: Coding style fixes part 1 (more coming up) 2008-09-09 09:11:44 +02:00
revo.h
se.c
se.h
stac946x.h
vt1720_mobo.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
vt1720_mobo.h
wtm.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
wtm.h ALSA: ice1712/wtm: fix coding style 2008-09-09 09:11:39 +02:00