linux-uconsole/sound/soc/codecs
Daniel Mack cd67f0abe5 ASoC: fix ak4104 register array access
commit e555317c08 upstream.

Don't touch the variable 'reg' to construct the value for the actual SPI
transport. This variable is again used to access the driver's register
cache, and so random memory is overwritten.
Compute the value in-place instead.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-03-15 08:49:52 -07:00
..
ac97.c ASoC: Use a shared define for AC97 CODEC data formats 2009-05-02 12:32:09 +01:00
ac97.h ALSA: asoc: codecs - merge structs snd_soc_codec_dai and snd_soc_cpu_dai. 2008-07-10 09:32:39 +02:00
ad1836.c ASoC: some minor changes for AD1836 and AD1938 codec drivers 2009-09-21 16:58:33 -07:00
ad1836.h new ad1836 codec driver based on asoc 2009-08-13 15:18:53 +01:00
ad1938.c ASoC: some minor changes for AD1836 and AD1938 codec drivers 2009-09-21 16:58:33 -07:00
ad1938.h ASoC: new ad1938 codec driver based on asoc 2009-07-16 11:14:39 +01:00
ad1980.c ASoC: Use a shared define for AC97 CODEC data formats 2009-05-02 12:32:09 +01:00
ad1980.h ALSA: ASoC codec: fix compiling error in ad1980 driver after ASoC API changed 2008-09-09 09:10:54 +02:00
ad73311.c ASoC: Push the codec runtime storage into the card structure 2009-01-27 10:30:54 +00:00
ad73311.h ASoC: Blackfin: fix typo in MUTE definition 2009-03-06 13:37:18 +00:00
ak4104.c ASoC: fix ak4104 register array access 2010-03-15 08:49:52 -07:00
ak4104.h ASoC: Add a driver for AK4104 S/PDIF transmitter 2009-03-09 10:46:17 +00:00
ak4535.c ASoC: Remove unused AK4535 hardware read functionality 2009-07-05 17:28:41 +01:00
ak4535.h ALSA: ASoC: Convert ak4535 to a new-style i2c driver 2008-09-04 10:34:21 +02:00
ak4642.c ASoC: Add ak4642/ak4643 codec support 2009-08-21 10:54:02 +01:00
ak4642.h ASoC: Add ak4642/ak4643 codec support 2009-08-21 10:54:02 +01:00
cs4270.c ALSA: ASoC: cs4270: move power management hooks to snd_soc_codec_device 2009-08-05 22:13:49 +01:00
cs4270.h ALSA: asoc: codecs - merge structs snd_soc_codec_dai and snd_soc_cpu_dai. 2008-07-10 09:32:39 +02:00
cx20442.c ASoC: CX20442: simplify codec controller usage 2009-08-06 11:36:46 +01:00
cx20442.h ASoC: CX20442: push down machine independent line discipline bits 2009-07-31 22:38:44 +01:00
Kconfig ASoC: Add ak4642/ak4643 codec support 2009-08-21 10:54:02 +01:00
l3.c ASoC: UDA134x codec driver 2008-11-17 11:45:39 +00:00
Makefile ASoC: Add ak4642/ak4643 codec support 2009-08-21 10:54:02 +01:00
max9877.c ASoC: MAX9877: fix write operation for register 2009-07-23 11:08:30 +01:00
max9877.h ASoC: MAX9877: add MAX9877 amp driver 2009-07-15 16:59:31 +01:00
pcm3008.c ASoC: Push the codec runtime storage into the card structure 2009-01-27 10:30:54 +00:00
pcm3008.h ASoC: Add PCM3008 ALSA SoC driver 2008-11-19 13:16:38 +00:00
spdif_transciever.c ASoC: spdif: set module licence to GPL 2009-07-13 23:01:30 +01:00
spdif_transciever.h ASoC: Add dummy S/PDIF codec support 2009-05-28 14:48:38 +01:00
ssm2602.c ASoC: Revert duplicated code in SSM2602 driver 2009-06-13 19:35:24 +01:00
ssm2602.h sound: ASoC codec: SSM2602 audio codec driver 2008-09-09 09:11:15 +02:00
stac9766.c ASoC: Keep index within stac9766_reg[] 2009-07-13 10:32:18 +01:00
stac9766.h ASoC: Codec for STAC9766 used on the Efika 2009-05-24 13:15:21 +01:00
tlv320aic3x.c ASoC: Make platform data optional for TLV320AIC3x 2009-08-26 15:27:56 +01:00
tlv320aic3x.h ASoC: tlv320aic3x: Change to use device model 2009-08-21 10:52:49 +01:00
tlv320aic23.c ASoC: AIC23: Fixing infinite loop in resume path 2009-11-27 16:45:42 +00:00
tlv320aic23.h ALSA: ASoC: Add TLV320AIC23 codec driver 2008-10-13 02:16:48 +02:00
tlv320aic26.c ASoC: Replace remaining uses of snd_soc_cnew with snd_soc_add_controls. 2009-03-12 15:43:30 +00:00
tlv320aic26.h ALSA: ASoC: Export DAI and codec for TLV320AIC26 2008-07-29 21:32:25 +02:00
twl4030.c ASoC: TWL4030: Fix for capture mixer strings 2009-08-14 17:52:59 +01:00
twl4030.h ASoC: TWL4030: Add EXTMUTE to reduce pop-noise effect 2009-07-02 11:06:26 +01:00
uda134x.c ASoC: UDA134X: Fix mistaken mute/unmute code 2009-08-17 12:56:57 +01:00
uda134x.h ASoC: Move uda134x_codec.h to uda134x.h 2008-11-18 12:32:33 +00:00
uda1380.c ASoC: UDA1380: refactor device registration 2009-06-15 21:54:48 +01:00
uda1380.h ASoC: UDA1380: refactor device registration 2009-06-15 21:54:48 +01:00
wm8350.c ASoC: Fix WM8350 DSP mode B configuration 2010-01-18 10:19:39 -08:00
wm8350.h ASoC: Include WM8350 register definitions in CODEC header 2009-04-27 20:27:01 +01:00
wm8400.c ASoC: Bodge around GCC 4.4.0 flow analysis bug in GCC 4.4.0 2009-07-17 21:53:49 +01:00
wm8400.h ASoC: Add initial driver for the WM8400 CODEC 2009-03-11 13:49:46 +00:00
wm8510.c ASoC: fix params_rate() macro use in several codecs 2010-01-18 10:19:12 -08:00
wm8510.h ALSA: ASoC: Add WM8510 SPI support 2008-10-13 02:17:15 +02:00
wm8523.c ASoC: Factor out I/O for Wolfson 8 bit data 16 bit register CODECs 2009-08-03 16:59:16 +01:00
wm8523.h ASoC: Add WM8523 CODEC driver 2009-07-01 18:47:45 +01:00
wm8580.c ASoC: Debugged improper setting of PLL fields in WM8580 driver 2009-09-01 11:37:41 +01:00
wm8580.h ASoC: Move WM8580 to normal I2C device probe 2009-03-12 15:43:24 +00:00
wm8728.c ASoC: Factor out 7 bit register 9 bit data SPI write 2009-08-03 16:59:16 +01:00
wm8728.h ASoC: Add WM8728 codec driver 2008-11-14 14:44:53 +00:00
wm8731.c ASoC: Drop unneeded declaration of removed wm8731 SPI write function 2009-08-10 12:59:29 +01:00
wm8731.h ASoC: Refactor WM8731 device registration 2009-02-18 11:55:22 +00:00
wm8750.c ASoC: Factor out 7 bit register 9 bit data SPI write 2009-08-03 16:59:16 +01:00
wm8750.h sound: ASoC: Add WM8750 SPI support 2008-09-23 08:18:19 +02:00
wm8753.c ASoC: wm8753: fix mapping when MONOMIX is set to Stereo 2009-09-21 16:58:43 -07:00
wm8753.h ASoC: Convert WM8753 to register via normal device probe 2009-02-24 23:49:53 +00:00
wm8776.c ASoC: Convert WM8776 to use factored out register cache code 2009-08-08 10:37:33 +01:00
wm8776.h ASoC: Add WM8776 CODEC driver 2009-08-06 11:36:45 +01:00
wm8900.c ASoC: Factor out I/O for Wolfson 8 bit data 16 bit register CODECs 2009-08-03 16:59:16 +01:00
wm8900.h ASoC: Convert WM8900 to do more work at I2C probe time 2008-12-10 19:47:40 +00:00
wm8903.c ASoC: fix a memory-leak in wm8903 2010-01-28 15:02:35 -08:00
wm8903.h ASoC: Convert WM8903 driver to register at I2C probe time 2008-12-10 19:47:44 +00:00
wm8940.c ASoC: fix params_rate() macro use in several codecs 2010-01-18 10:19:12 -08:00
wm8940.h ASoC WM8940 Driver 2009-04-27 20:37:13 +01:00
wm8960.c ASoC: Add I/O control bus information to factored out cache setup 2009-08-03 16:59:09 +01:00
wm8960.h ASoC: Add WM8960 CODEC driver 2009-04-13 15:11:46 +01:00
wm8961.c ASoC: Factor out I/O for Wolfson 8 bit data 16 bit register CODECs 2009-08-03 16:59:16 +01:00
wm8961.h ASoC: Add WM8961 driver 2009-06-12 17:16:06 +01:00
wm8971.c ASoC: Add I/O control bus information to factored out cache setup 2009-08-03 16:59:09 +01:00
wm8971.h sound: ASoC: Add WM8971 CODEC driver 2008-09-23 08:18:05 +02:00
wm8974.c ASoC: fix params_rate() macro use in several codecs 2010-01-18 10:19:12 -08:00
wm8974.h ASoC: Update WM8974 to use standard I2C device probe methods 2009-05-23 16:43:12 +01:00
wm8988.c Merge branch 'topic/asoc' into for-linus 2009-09-10 15:32:40 +02:00
wm8988.h ASoC: Add WM8988 CODEC driver 2009-04-07 18:51:23 +01:00
wm8990.c ASoC: Factor out I/O for Wolfson 8 bit data 16 bit register CODECs 2009-08-03 16:59:16 +01:00
wm8990.h ASoC: Enable WM8990 ADC clocking workaround 2008-11-17 17:24:54 +00:00
wm8993.c Merge branch 'topic/digital-mixing' into for-2.6.32 2009-08-24 20:44:41 +01:00
wm8993.h ASoC: Add WM8993 CODEC driver 2009-07-08 17:20:20 +01:00
wm9081.c trivial: remove unnecessary semicolons 2009-09-21 15:14:58 +02:00
wm9081.h ASoC: WM9081 mono DAC with integrated 2.6W class AB/D amplifier driver 2009-05-22 15:11:22 +01:00
wm9705.c ASoC: free socdev if init_card() fails in wm9705_soc_probe() 2009-08-23 10:41:06 +01:00
wm9705.h ASoC: Driver for the WM9705 AC97 codec. 2009-01-16 16:40:25 +00:00
wm9712.c ASoC: Do not write to invalid registers on the wm9712. 2010-01-06 15:03:34 -08:00
wm9712.h ALSA: asoc: codecs - merge structs snd_soc_codec_dai and snd_soc_cpu_dai. 2008-07-10 09:32:39 +02:00
wm9713.c ASoC: correct print specifiers for unsigneds 2009-05-28 10:20:26 +01:00
wm9713.h ALSA: asoc: codecs - merge structs snd_soc_codec_dai and snd_soc_cpu_dai. 2008-07-10 09:32:39 +02:00
wm_hubs.c ASoC: Fully specify DC servo bits to update in wm_hubs 2009-09-02 19:36:22 +01:00
wm_hubs.h ASoC: Factor out shared code from WM8993 2009-08-13 22:19:31 +01:00