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
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
ice1724.c ALSA: ice1724 - constrain runtime rates for locked internal rate 2012-03-05 14:53:58 +01:00
juli.c
juli.h
Makefile
maya44.c
maya44.h
phase.c
phase.h
pontis.c Fix common misspellings 2011-03-31 11:26:23 -03:00
pontis.h
prodigy192.c
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
quartet.h
revo.c
revo.h
se.c
se.h
stac946x.h
vt1720_mobo.c
vt1720_mobo.h
wtm.c
wtm.h