aboutsummaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)AuthorFilesLines
2013-08-22Merge remote-tracking branch 'asoc/topic/ac97' into asoc-nextMark Brown2-0/+168
2013-08-22Merge remote-tracking branch 'asoc/fix/wm8960' into asoc-linusMark Brown1-3/+3
2013-08-22ASoC: samsung: Fix build error with dma function renameTushar Behera4-8/+8
commit 85ff3c29d720 ("ASoC: samsung: Rename DMA platform registration functions") renames the DMA registration functions. Fix the places where it was left out. Signed-off-by: Tushar Behera <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2013-08-22ASoC: fsl: disable ssi irq for imxMichael Grzeschik1-12/+10
We have to disable the ssi irq, as it is not safe for all platforms to write back into the status register. It also runs into non-linefetch aborts. Signed-off-by: Michael Grzeschik <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2013-08-22ASoC: fsl-ssi: imx-pcm-fiq bugfixMichael Grzeschik1-20/+24
imx-pcm-fiq is checking for TE RE bits, so enable them only if necessary. Signed-off-by: Michael Grzeschik <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2013-08-22ASoC: fsl-ssi: add SSIEN errata work aroundSteffen Trumtrar1-7/+4
The chip errata for the i.MX35, Rev.2 has the following errata: ENGcm06222: SSI:Transmission does not take place in bit length early frame sync configuration The workaround states, that TX_EN and SSI_EN bits should be set in the same register write. As the next errata in the document (ENGcm06532) says to always write RX_EN and TX_EN in the same register write in network mode. Therefore include the whole write to CCSR_SSI_SCR_TE and CCSR_SSI_SCR_RE into the write to CCSR_SSI_SCR_SSIEN Signed-off-by: Steffen Trumtrar <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2013-08-22ASoC: fsl-ssi: ac97-slave supportMarkus Pargmann1-70/+276
This patch adds ac97-slave support. For ac97, the registers have to be setup earlier than for other ssi modes because there is some communication with the external device before streaming. So this patch introduces a fsl_ssi_setup function to setup the registers for different ssi operation modes seperately. This patch was tested with imx27-pca100. Signed-off-by: Markus Pargmann <[email protected]> Tested-by: Shawn Guo <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2013-08-22Merge remote-tracking branch 'asoc/topic/ac97' into asoc-fslMark Brown49-139/+452
2013-08-22ALSA: rme96: Check the return value of pci_enable_device() in resume callbackTakashi Iwai1-1/+5
Fixing warning message: sound/pci/rme96.c: In function ‘snd_rme96_resume’: sound/pci/rme96.c:2418:19: warning: ignoring return value of ‘pci_enable_device’, declared with attribute warn_unused_result [-Wunused-result] Signed-off-by: Takashi Iwai <[email protected]>
2013-08-22ALSA: hda - Add workarounds for pop-noise on Chromebook with ALC283Kailang Yang1-0/+45
The headphone automute on this machine triggers annoying pop noises. It seems that only the first DAC can be used, the secondary DAC always results in this problem. This patch disables the secondary DAC with a few additional workarounds. Signed-off-by: Kailang Yang <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2013-08-22ALSA: hda - Fix ALC283 headphone pop-noise betterKailang Yang1-35/+76
Fixed ALC283 D3 to D0 and D0 to D3 Headphone pop noise. The previous fix [c5177c86: ALSA: hda - Fix the noise after suspend on ALC283 codec] doesn't work sufficiently for some laptops. Signed-off-by: Kailang Yang <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2013-08-22ALSA: rme96: Add PM support v3Knut Petersen1-0/+117
Without proper power management handling, the first use of a Digi96/8 anytime after a suspend / resume cycle will start playback with distortions. v3: Abort if vmalloc() of suspend buffers fail, but do not leak memory in that case. [fixed wrong memory leak fix again -- tiwai] Signed-off-by: Knut Petersen <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2013-08-22ASoC: fsl: Add S/PDIF CPU DAI driverNicolin Chen4-0/+1432
This patch implements a device-tree-only CPU DAI driver for Freescale S/PDIF controller that supports stereo playback and record feature. Signed-off-by: Nicolin Chen <[email protected]> Acked-by: Stephen Warren <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2013-08-22ASoC: pxa: Remove duplicate inclusion of dmaengine.hSachin Kamat1-1/+0
dmaengine.h header file was included twice. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2013-08-20ASoC: omap: simplify platform_get_resource_byname/devm_ioremap_resourceJulia Lawall2-9/+3
Remove unneeded error handling on the result of a call to platform_get_resource_byname when the value is passed to devm_ioremap_resource. In the case of omap-dmic.c, the error-handling code of devm_ioremap_resource is also corrected to include releasing the clock. A simplified version of the semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression pdev,res,e,e1; expression ret != 0; identifier l; @@ res = platform_get_resource_byname(...); - if (res == NULL) { ... \(goto l;\|return ret;\) } e = devm_ioremap_resource(e1, res); // </smpl> Signed-off-by: Julia Lawall <[email protected]> Acked-by: Jarkko Nikula <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2013-08-20ASoC: fsl: fsl_ssi: Fix the order of resources removalFabio Estevam1-4/+4
In fsl_ssi_remove() we need to remove the resources in the opposite order that they were acquired in probe. Signed-off-by: Fabio Estevam <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2013-08-20ASoC: core: Generic ac97 link reset functionsMarkus Pargmann1-0/+153
This patch adds generic ac97 reset functions using pincontrol and gpio parsed from devicetree. Signed-off-by: Markus Pargmann <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2013-08-20ASoC: samsung: Rename DMA platform registration functionsMark Brown4-11/+11
The current naming with a simple asoc_ prefix is too generic for use in multiplatform kernels. Signed-off-by: Mark Brown <[email protected]> Acked-by: Sangbeom Kim <[email protected]>
2013-08-20ASoC: samsung: Check to see if we managed to allocate a channelMark Brown1-0/+4
Signed-off-by: Mark Brown <[email protected]> Acked-by: Sangbeom Kim <[email protected]>
2013-08-19ALSA: hdspm - Use enums in hdspm_tco_ltc_frames()Adrian Knoth1-5/+5
This patch doesn't change functionality, it only improves readability and fixes a copy&paste error in a comment. Signed-off-by: Adrian Knoth <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2013-08-19ALSA: hdspm - Fix default value in SNDRV_HDSPM_IOCTL_GET_LTCAdrian Knoth1-1/+1
Use enum hdspm_ltc_format's fps_30 (corresponds to 4) instead of 30, Other case branches return 1, 2 or 3 respectively, so 30 obviously is wrong. Since SNDRV_HDSPM_IOCTL_GET_LTC had never been working due to a copy&paste error in hdspm.h, this change doesn't break userspace. Signed-off-by: Adrian Knoth <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2013-08-19ALSA: hda - Add inverted digital mic fixup for Acer Aspire OneTakashi Iwai1-0/+1
Yet another entry, just use the existing fixup for this machine, too. Reported-by: "Nathanael D. Noblet" <[email protected]> Cc: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2013-08-19ALSA: pcm: Use snd_printd_ratelimit()Tim Gardner1-2/+2
The use of snd_printd_ratelimit() supresses superfluous output from printk_ratelimit() when CONFIG_SND_DEBUG is not defined. For example, [ 43.753692] snd_pcm_update_hw_ptr0: 26 callbacks suppressed [ 48.822131] snd_pcm_update_hw_ptr0: 25 callbacks suppressed [ 53.894953] snd_pcm_update_hw_ptr0: 25 callbacks suppressed [ 58.997761] snd_pcm_update_hw_ptr0: 25 callbacks suppressed [ 64.100952] snd_pcm_update_hw_ptr0: 25 callbacks suppressed fills the log even when no debug output is actually produced. Cc: Jaroslav Kysela <[email protected]> Cc: Takashi Iwai <[email protected]> Cc: Pierre-Louis Bossart <[email protected]> Cc: Lars-Peter Clausen <[email protected]> Cc: Yacine Belkadi <[email protected]> Signed-off-by: Tim Gardner <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2013-08-19ALSA: hda - Try to allow haswell HDMI audio even without powerwellDavid Henningsson1-0/+2
If compiled without CONFIG_SND_HDA_I915, the audio driver cannot request power well. However, if the power well is on for other reasons, maybe audio can still work. Therefore, do not skip the card completely if compiled without CONFIG_SND_HDA_I915. Signed-off-by: David Henningsson <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2013-08-19ALSA: hda - Limit internal mic boost for a few more Thinkpad machinesDavid Henningsson1-0/+5
The higher mic boosts (on internal mic) are so noisy they're unusable in practice. BugLink: https://bugs.launchpad.net/bugs/1213820 Signed-off-by: David Henningsson <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2013-08-19ASoC: imx: Add MODULE_LICENSE to DMA driversMark Brown2-0/+5
Reported-by: Ben Hutchings <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2013-08-19ASoC: spdif: Remove duplicate constMark Brown1-1/+1
Signed-off-by: Mark Brown <[email protected]>
2013-08-19ASoC: spdif: Add stub DAPM widgets for RxMark Brown1-1/+14
Ensure that the driver continues to work with mandatory DAPM. Signed-off-by: Mark Brown <[email protected]>
2013-08-19ASoC: bt-sco: Provide stub DAPM integrationMark Brown1-1/+18
Ensure continued operation with DAPM being mandatory. Signed-off-by: Mark Brown <[email protected]>
2013-08-19ASoC: bt-sco: Add generic compatible stringMark Brown1-0/+3
Provide a common compatible string for device trees to list as a fallback for simplicity. We don't currently have a binding document but let's not fix that right now... Signed-off-by: Mark Brown <[email protected]>
2013-08-19ASoC: hdmi: Provide stub DAPM integrationMark Brown1-1/+18
Ensure continued operation with DAPM being mandatory. Signed-off-by: Mark Brown <[email protected]>
2013-08-19ASoC: ac97: Provide stub DAPM integrationMark Brown1-0/+15
Ensure continued operation with DAPM being mandatory. Signed-off-by: Mark Brown <[email protected]>
2013-08-19ASoC: wm8997: Add inputs for noise and mic mixersMark Brown1-3/+3
The noise and mic mixer inputs were not connected, do so. Signed-off-by: Mark Brown <[email protected]>
2013-08-19ASoC: wm5110: Add inputs for noise and mic mixersMark Brown1-3/+3
The noise and mic mixer inputs were not connected, do so. Signed-off-by: Mark Brown <[email protected]>
2013-08-19ASoC: wm5102: Add inputs for noise and mic mixersMark Brown1-3/+3
The noise and mic mixer inputs were not connected, do so. Signed-off-by: Mark Brown <[email protected]>
2013-08-18ASoC: wm8782: Add DAPM supportMark Brown1-1/+16
In order to make the device easier to hook up to external components in system designs and ensure operation when DAPM support becomes mandatory add DAPM support. Signed-off-by: Mark Brown <[email protected]>
2013-08-18ASoC: wm8727: Add DAPM supportMark Brown1-1/+16
In order to make the device easier to hook up to external components in system designs and ensure operation when DAPM support becomes mandatory add DAPM support. Signed-off-by: Mark Brown <[email protected]>
2013-08-18ASoC: cs4270: Add DAPM supportMark Brown1-0/+20
This makes it possible to hook the device into a more complex board and ensures it will continue to work with non-DAPM support removed from the core. Signed-off-by: Mark Brown <[email protected]>
2013-08-18ASoC: wl1273: Add stub DAPM supportMark Brown1-0/+17
In order to ensure that the device continues to work with DAPM support being mandatory provide stub DAPM widgets and routes. Note that the public information on the device appears to make no mention of the FM support the driver appears to have. Signed-off-by: Mark Brown <[email protected]>
2013-08-18ASoC: pcm3008: Manage DAC and ADC power with DAPMMark Brown1-33/+39
Rather than leaving the DAC and ADC active whenever the system is running manage their power with DAPM. Signed-off-by: Mark Brown <[email protected]>
2013-08-18ASoC: pcm3008: Add DAPM supportMark Brown1-0/+20
Make it possible to connect external devices to the CODEC and ensure continued operation with non-DAPM support removed from the core. Signed-off-by: Mark Brown <[email protected]>
2013-08-18ASoC: pcm3008: Use gpio_set_value_cansleep()Mark Brown1-4/+4
We don't set the GPIO values from atomic context so support GPIOs that can't be controlled from atomic context. Signed-off-by: Mark Brown <[email protected]>
2013-08-18ASoC: wm8960: Fix PLL register writesMike Dyer1-3/+3
Bit 9 of PLL2,3 and 4 is reserved as '0'. The 24bit fractional part should be split across each register in 8bit chunks. Signed-off-by: Mike Dyer <[email protected]> Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
2013-08-18ASoC: fsl: Drop SND_SOC_FSL_UTILS from i.mx machine codeFabio Estevam1-2/+0
SND_SOC_FSL_UTILS is only used by PowerPC machines, so let's drop it in the i.mx case. Signed-off-by: Fabio Estevam <[email protected]> Acked-by: Shawn Guo <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2013-08-18ASoC: si476x: Add DAPM supportMark Brown1-0/+14
This ensures the driver continues to work with DAPM mandatory and makes it easier to connect the device up to other components in the subsystem. Signed-off-by: Mark Brown <[email protected]> Acked-by: Andrey Smirnov <[email protected]>
2013-08-18[media] tea575x: Move from sound to mediaOndrej Zary3-591/+4
Move tea575x from sound/i2c/other to drivers/media/radio Includes Kconfig changes by Hans Verkuil. Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Ondrej Zary <[email protected]> Acked-by: Takashi Iwai <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2013-08-18[media] tea575x: Move header from sound to mediaOndrej Zary3-3/+3
Move include/sound/tea575x-tuner.h to include/media/tea575x.h and update files that include it. Signed-off-by: Ondrej Zary <[email protected]> Acked-by: Takashi Iwai <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
2013-08-16ALSA: hda - Fix the order of a quirk table (janitorial)David Henningsson1-6/+6
This just cleans up the table, no functional changes. Signed-off-by: David Henningsson <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2013-08-16ALSA: hda - Fix internal mic boost on three Thinkpad machinesDavid Henningsson1-0/+3
The internal mic boost is so noisy on boosts 2 and 3 so they are unusable in practice. BugLink: https://bugs.launchpad.net/bugs/1213055 Signed-off-by: David Henningsson <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2013-08-16ASoC: tlv320aic26: Add basic DAPM supportMark Brown1-0/+20
Provide external widgets for the CODEC to ensure the device continues to function with DAPM mandatory and to make it easier to hook the device up to other components. Signed-off-by: Mark Brown <[email protected]>