linux/sound
Jesper Juhl 86fc499823 ASoC: cs42l73: don't use negative array index
If cs42l73_get_mclkx_coeff() returns < 0 (which it can) in
sound/soc/codecs/cs42l73.c::cs42l73_set_mclk(), then we'll be using
the (negative) return value as array index on the very next line of
code - that's bad.

Catch the negative return value and propagate it to the caller (which
checks for it) and things are a bit more sane :-)

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-04-13 10:01:38 +01:00
..
aoa ALSA: aoa: Convert onyx and tas codec drivers to module_i2c_driver 2012-01-27 15:18:28 +01:00
arm ARM: cleanups of io includes 2012-03-29 18:02:10 -07:00
atmel dmaengine/dw_dmac: Fix dw_dmac user drivers to adapt to slave_config changes 2012-02-22 18:15:39 +05:30
core Documentation: remove references to /etc/modprobe.conf 2012-03-30 16:03:15 -07:00
drivers Documentation: remove references to /etc/modprobe.conf 2012-03-30 16:03:15 -07:00
firewire IEEE 1394 (FireWire) subsystem updates post v3.3: 2012-03-22 20:31:15 -07:00
i2c [media] tea575x: fix HW seek 2012-03-19 11:28:52 -03:00
isa ALSA: fix isa/opti9xx module param type 2012-03-29 17:57:08 +02:00
mips
oss sound fixes for 3.4-rc1 2012-03-30 10:59:52 -07:00
parisc
pci sound fixes for 3.4-rc1 2012-03-30 10:59:52 -07:00
pcmcia
ppc Merge branch 'topic/misc' into for-linus 2012-01-12 09:59:14 +01:00
sh
soc ASoC: cs42l73: don't use negative array index 2012-04-13 10:01:38 +01:00
sparc
spi ALSA: Convert at73c213 to module_spi_driver 2012-01-27 15:18:36 +01:00
synth
usb Merge branch 'topic/misc' into for-linus 2012-03-18 18:22:33 +01:00
ac97_bus.c
Kconfig
last.c
Makefile
sound_core.c switch device_get_devnode() and ->devnode() to umode_t * 2012-01-03 22:54:55 -05:00
sound_firmware.c