summaryrefslogtreecommitdiff
path: root/sound/soc/codecs
AgeCommit message (Collapse)AuthorFilesLines
2013-09-27Merge remote-tracking branch 'asoc/fix/max98095' into asoc-linusMark Brown1-2/+2
2013-09-27Merge remote-tracking branch 'asoc/fix/ab8500' into asoc-linusMark Brown1-1/+6
2013-09-27Merge remote-tracking branch 'asoc/fix/88pm860x' into asoc-linusMark Brown1-0/+3
2013-09-13ASoC: 88pm860x: array overflow in snd_soc_put_volsw_2r_st()Dan Carpenter1-0/+3
This is called from snd_ctl_elem_write() with user supplied data so we need to add some bounds checking. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mark Brown <broonie@linaro.org> Cc: stable@vger.kernel.org
2013-09-13ASoC: ab8500-codec: info leak in anc_status_control_put()Dan Carpenter1-1/+6
If the user passes an invalid value it leads to an info leak when we print the error message or it could oops. This is called with user supplied data from snd_ctl_elem_write(). Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mark Brown <broonie@linaro.org> Cc: stable@vger.kernel.org
2013-09-13ASoC: max98095: a couple array underflowsDan Carpenter1-2/+2
The ->put() function are called from snd_ctl_elem_write() with user supplied data. The limit checks here could underflow leading to a crash. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mark Brown <broonie@linaro.org> Cc: stable@vger.kernel.org
2013-09-13Remove GENERIC_HARDIRQ config optionMartin Schwidefsky1-1/+1
After the last architecture switched to generic hard irqs the config options HAVE_GENERIC_HARDIRQS & GENERIC_HARDIRQS and the related code for !CONFIG_GENERIC_HARDIRQS can be removed. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2013-09-11ASoC: mc13783: add spi errata fixSteffen Trumtrar1-0/+4
The MC13783 Chip Errata, Rev. 4 says, that depending on SPI clock and main audio clock speed, the Audio Codec or Stereo DAC do sometimes not start when programmed to do so. This is due to an internal clock timing issue related to the loading of the SPI bits into the audio block. On an i.MX27 based system, this issue lead to switched audio channels under certain circumstances: RTC + Touch + Audio are used and loaded at startup. The mentioned workaround of writing registers 40 and 41 two times is implemented here. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Cc: stable@vger.kernel.org Signed-off-by: Mark Brown <broonie@linaro.org>
2013-09-02Merge remote-tracking branch 'asoc/topic/ssm2602' into tmpMark Brown1-1/+2
2013-09-02Merge remote-tracking branch 'asoc/topic/dapm' into tmpMark Brown2-54/+175
2013-08-31ASoC: ssm2602: Fix cache syncLars-Peter Clausen1-1/+2
The ssm2602 uses regmap for caching not soc-cache, so we need to use regcache_sync() instead of snd_soc_cache_sync(). Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
2013-08-30ASoC: rt5640: change widget sequence for depopBard Liao2-54/+175
Signed-off-by: Bard Liao <bardliao@realtek.com> Tested-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@linaro.org>
2013-08-30Merge remote-tracking branch 'asoc/topic/rt5640' into asoc-dapmMark Brown1-26/+0
2013-08-30Merge remote-tracking branch 'asoc/topic/wm8904' into tmpMark Brown1-1/+0
2013-08-30Merge remote-tracking branch 'asoc/topic/core' into tmpMark Brown2-28/+11
2013-08-27Merge remote-tracking branch 'asoc/topic/dapm' into asoc-coreMark Brown6-54/+23
2013-08-27Merge remote-tracking branch 'asoc/topic/tlv320aic32x4' into asoc-coreMark Brown1-15/+7
2013-08-27Merge remote-tracking branch 'asoc/topic/dmic' into asoc-coreMark Brown8-37/+41
2013-08-27ASoC: wm8904: Remove unnecessary call to snd_soc_dapm_new_widgets()Lars-Peter Clausen1-1/+0
The core will call snd_soc_dapm_new_widgets() once all components of the card have been initialized, so there is no need to do this manually in the driver. Calling it earlier also might result in a partially instantiated system being powered up which cause undesired side effects. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
2013-08-27ASoC: tlv320aic32x4: Convert table based control and DAPM setupLars-Peter Clausen1-15/+7
Let the core take care of instantiating the controls and DAPM widgets and routes, this makes the code a bit shorter. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
2013-08-27ASoC: dmic: Convert table based DAPM setupLars-Peter Clausen1-13/+4
Let the core take care of instantiating the DAPM widgets and routes, this makes the code a bit shorter. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
2013-08-23Merge tag 'asoc-v3.12' of ↵Takashi Iwai61-741/+2948
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-next ASoC: Updates for v3.12 - DAPM is now mandatory for CODEC drivers in order to avoid the repeated regressions in the special cases for non-DAPM CODECs and make it easier to integrate with other components on boards. All existing drivers have had some level of DAPM support added. - A lot of cleanups in DAPM plus support for maintaining controls in a specific state while a DAPM widget all contributed by Lars-Peter Clausen. - Core helpers for bitbanged AC'97 reset from Markus Pargmann. - New drivers and support for Analog Devices ADAU1702 and ADAU1401(a), Asahi Kasei Microdevices AK4554, Atmel AT91ASM9x5 and WM8904 based machines, Freescale S/PDIF and SSI AC'97, Renesas R-Car SoCs, Samsung Exynos5420 SoCs, Texas Instruments PCM1681 and PCM1792A and Wolfson Microelectronics WM8997. - Support for building drivers that can support it cross-platform for compile test.
2013-08-22Merge remote-tracking branch 'asoc/topic/wm8994' into asoc-nextMark Brown1-15/+20
2013-08-22Merge remote-tracking branch 'asoc/topic/wm8962' into asoc-nextMark Brown1-4/+3
2013-08-22Merge remote-tracking branch 'asoc/topic/wm8960' into asoc-nextMark Brown1-2/+2
2013-08-22Merge remote-tracking branch 'asoc/topic/wm8904' into asoc-nextMark Brown1-1/+1
2013-08-22Merge remote-tracking branch 'asoc/topic/wm8782' into asoc-nextMark Brown1-1/+16
2013-08-22Merge remote-tracking branch 'asoc/topic/wm8753' into asoc-nextMark Brown1-2/+3
2013-08-22Merge remote-tracking branch 'asoc/topic/wm8731' into asoc-nextMark Brown1-3/+57
2013-08-22Merge remote-tracking branch 'asoc/topic/wm8727' into asoc-nextMark Brown1-1/+16
2013-08-22Merge remote-tracking branch 'asoc/topic/wm8350' into asoc-nextMark Brown1-2/+4
2013-08-22Merge remote-tracking branch 'asoc/topic/wm0010' into asoc-nextMark Brown1-6/+6
2013-08-22Merge remote-tracking branch 'asoc/topic/wl1273' into asoc-nextMark Brown1-0/+17
2013-08-22Merge remote-tracking branch 'asoc/topic/uda134x' into asoc-nextMark Brown1-35/+53
2013-08-22Merge remote-tracking branch 'asoc/topic/twl6040' into asoc-nextMark Brown1-1/+2
2013-08-22Merge remote-tracking branch 'asoc/topic/twl4030' into asoc-nextMark Brown1-2/+0
2013-08-22Merge remote-tracking branch 'asoc/topic/tlv320aic3x' into asoc-nextMark Brown1-0/+4
2013-08-22Merge remote-tracking branch 'asoc/topic/tlv320aic26' into asoc-nextMark Brown1-15/+36
2013-08-22Merge remote-tracking branch 'asoc/topic/sta32x' into asoc-nextMark Brown1-4/+6
2013-08-22Merge remote-tracking branch 'asoc/topic/spdif' into asoc-nextMark Brown2-3/+32
2013-08-22Merge remote-tracking branch 'asoc/topic/si476x' into asoc-nextMark Brown1-0/+14
2013-08-22Merge remote-tracking branch 'asoc/topic/sgtl5000' into asoc-nextMark Brown1-3/+7
2013-08-22Merge remote-tracking branch 'asoc/topic/rt5640' into asoc-nextMark Brown1-26/+0
2013-08-22Merge remote-tracking branch 'asoc/topic/pcm3008' into asoc-nextMark Brown1-78/+72
2013-08-22Merge remote-tracking branch 'asoc/topic/pcm1792a' into asoc-nextMark Brown1-7/+19
2013-08-22Merge remote-tracking branch 'asoc/topic/pcm1681' into asoc-nextMark Brown1-1/+27
2013-08-22Merge remote-tracking branch 'asoc/topic/new-pcm' into asoc-nextMark Brown5-0/+596
2013-08-22Merge remote-tracking branch 'asoc/topic/mc13783' into asoc-nextMark Brown1-1/+0
2013-08-22Merge remote-tracking branch 'asoc/topic/max9877' into asoc-nextMark Brown1-202/+92
2013-08-22Merge remote-tracking branch 'asoc/topic/max98090' into asoc-nextMark Brown1-4/+6