aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-03-04ASoC: wm8753: fix initializationDenis 'GNUtoo' Carikli1-0/+5
Without that fix the wm8753 SPI initialization fails, and then produces a kernel panic during boot with the following call trace: Unable to handle kernel paging request at virtual address 37386d9b [<c01ccafc>] (regmap_get_val_bytes+0x0/0x14) from [<c0243dfc>] (snd_soc_codec_set_cache_io+0x9c/0xcc) [<c0243dfc>] (snd_soc_codec_set_cache_io+0x9c/0xcc) from [<c0244a4c>] (wm8753_probe+0x5c/0x1c4) [<c0244a4c>] (wm8753_probe+0x5c/0x1c4) from [<c023bb24>] (soc_probe_codec+0x174/0x284) [<c023bb24>] (soc_probe_codec+0x174/0x284) from [<c023c2c0>] (snd_soc_instantiate_cards+0x68c/0xe28) [<c023c2c0>] (snd_soc_instantiate_cards+0x68c/0xe28) from [<c023d278>] (snd_soc_register_card+0x240/0x2d4) [<c023d278>] (snd_soc_register_card+0x240/0x2d4) from [<c023d330>] (soc_probe+0x24/0x40) [<c023d330>] (soc_probe+0x24/0x40) from [<c01c3900>] (platform_drv_probe+0x14/0x18) [...] The commit d3398ff05907167f463e119421b053ce043741d1 ( ASoC: Convert WM8753 to direct regmap API usage ) introduced the problem. Thanks to Lars-Peter Clausen for helping me a bit during the debugging. Signed-off-by: Denis 'GNUtoo' Carikli <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-03-04ASoC: neo1973: fix neo1973 wm8753 initializationDenis 'GNUtoo' Carikli1-2/+2
The neo1973 driver had wrong codec name which prevented the "sound card" from appearing. Signed-off-by: Denis 'GNUtoo' Carikli <[email protected]> Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
2012-03-04ASoC: core: Split the union for CODEC/platform in the DAIMark Brown1-4/+3
There's now core code which falls back to global CODEC operations for DAI calls that needs to be able to tell if it's dealing with a CPU or CODEC DAI and given the small number of DAIs in a typical system and overall memory usage pattern saving a pointer per DAI is really not worth the effort. Reported-by: Ian Lartey <[email protected]> Signed-off-by: Mark Brown <[email protected]> Acked-by: Liam Girdwood <[email protected]>
2012-03-04ASoC: sgtl5000: rename device tree binding documentShawn Guo1-0/+0
It moves and renames sgtl5000 device tree binding document to make it aligned with other codecs. Signed-off-by: Shawn Guo <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-03-04ASoC: imx: move SND_SOC_AC97_BUS selection down to machine driverShawn Guo1-1/+1
SND_SOC_AC97_BUS is selected to enable the AC97 support in soc-core. Rather than selecting the option under SND_IMX_SOC, it's better to leave the selection to individual machine driver which knows if AC97 support is needed or not. Signed-off-by: Shawn Guo <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-03-04ASoC: imx: initialize dma_params burstsize just in imx-ssiShawn Guo2-6/+1
It's not necessary for imx-pcm-dma-mx2 to access imx_ssi.dma_params for burstsize initialization. Instead, it can just be done in imx-ssi probe function once. Signed-off-by: Shawn Guo <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-03-04ASoC: wm8994: Factor out WM1811A detection mode settingMark Brown1-20/+28
Push everything through one function for active use cases, should be no practical effect. Signed-off-by: Mark Brown <[email protected]>
2012-03-04ASoC: wm8994: Don't bother updating the jackdet mode needlesslyMark Brown1-0/+3
If we're not doing jackdet it's not needed. Signed-off-by: Mark Brown <[email protected]>
2012-03-04ASoC: wm8994: Disable JACKDET when disabling detectonMark Brown1-0/+1
Signed-off-by: Mark Brown <[email protected]>
2012-03-04ASoC: wm8994: Make sure we sync DAPM on WM8958 detection mode changesMark Brown1-0/+2
Normally this will have no effect as we set detection up at system startup before DAPM syncs take effect, this will only be useful if the system enables and disables detection at runtime. Signed-off-by: Mark Brown <[email protected]>
2012-03-04ASoC: wm_hubs: Disable cache of the DC servo calibration for WM1811Mark Brown3-1/+3
The WM1811 DC servo is able to run much faster than previous devices so the benefit of skipping calibration is not useful. Signed-off-by: Mark Brown <[email protected]>
2012-03-04ASoC: wm8994: Suppress noop updates of FLL KMark Brown1-1/+2
Using snd_soc_write() means we always write to the register even if it already contains the newly calculated value. Signed-off-by: Mark Brown <[email protected]>
2012-03-04ASoC: wm8994: Push wm8994 private data allocation out into device probeMark Brown1-9/+13
Signed-off-by: Mark Brown <[email protected]>
2012-03-02ASoC: core: Log a warning when machines use soc-audioMark Brown1-0/+4
snd_soc_register_card() has been available and strongly preferred since 2.6.38 but we're still seeing new drivers using it and the conversion rate for older machines has been low. Help address both issues by logging a warning when the soc-audio device probes. Signed-off-by: Mark Brown <[email protected]> Acked-by: Liam Girdwood <[email protected]>
2012-03-02ASoC: core: cleanup platform debugfs on probe failure.Liam Girdwood1-0/+1
Make sure we cleanup the platform debugfs when probe fails. Signed-off-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-03-02ASoC: mxs-pcm: Use dmaengine PCM helper functionsLars-Peter Clausen3-124/+25
Signed-off-by: Lars-Peter Clausen <[email protected]> Tested-by: Shawn Guo <[email protected]> Acked-by: Vinod Koul <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-03-02ASoC: imx-pcm-dma: Use dmaengine PCM helper functionsLars-Peter Clausen2-149/+28
Signed-off-by: Lars-Peter Clausen <[email protected]> Tested-by: Shawn Guo <[email protected]> Acked-by: Vinod Koul <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-03-02ASoC: Add dmaengine PCM helper functionsLars-Peter Clausen4-0/+342
This patch adds a set of functions which are intended to be used when implementing a dmaengine based sound PCM driver. Signed-off-by: Lars-Peter Clausen <[email protected]> Tested-by: Shawn Guo <[email protected]> Acked-by: Vinod Koul <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-03-02ASoC: wm8962: Run the headphone in class G mode when sidetone is enabledMark Brown1-0/+2
Class W mode with sidetone is not fully supported. Signed-off-by: Mark Brown <[email protected]>
2012-03-02Merge branch 'fix/hda' into topic/hdaTakashi Iwai12-35/+79
Speaker-Out renames are merged. Conflicts: sound/pci/hda/patch_realtek.c
2012-03-02ALSA: hda - Kill hyphenated namesTakashi Iwai4-8/+8
Kill hyphens from "Line-Out" name strings, as suggested by Mark Brown. Signed-off-by: Takashi Iwai <[email protected]>
2012-03-01ASoC: wm8994: Disable debounce of jack detection on inserted jackMark Brown1-0/+8
Don't debounce jack detection for inserted jacks, giving improved responsiveness. Signed-off-by: Mark Brown <[email protected]>
2012-03-01Merge tag 'asoc-3.3' of ↵Takashi Iwai2-4/+10
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus A small fix for the SSI driver and a fix for system shutdown with modern devices. Most of the modern devices will never get shut down normally with a visible kernel log as the systems they're in tend not to shut down often and when they do it's usually in form factors that don't have a user visible console.
2012-03-01ASoC: wm8962: Remove register default for PLL2Mark Brown1-2/+0
The initial value can be changed depending on system configuration. Signed-off-by: Mark Brown <[email protected]>
2012-02-29ASoC: Samsung: Update email id of the authorJaswinder Singh6-11/+11
I moved on from a great employer and the email-id no longer exists. Update email-id to a personal one, assuming I don't move on from myself anytime soon. And when I do, people don't get the eulogies bounced. Signed-off-by: Jaswinder Singh <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-02-29ASoC: Samsung: Merge two identical if-else clausesJassi Brar1-6/+4
Saves two lines and a hell of a lot of embarrassment looking at the code. Signed-off-by: Jassi Brar <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-02-29ASoC: wm8994: Remove stub of register access codeMark Brown1-8/+0
Signed-off-by: Mark Brown <[email protected]>
2012-02-29ASoC: wm_hubs: Bomb out if we can't read back the DC servo resultMark Brown1-1/+1
Should have no practical impact but it's safer than trying to soldier on. Signed-off-by: Mark Brown <[email protected]>
2012-02-29ASoC: wm8996: Remove stub register cacheMark Brown1-8/+0
Signed-off-by: Mark Brown <[email protected]>
2012-02-29ASoC: wm8996: Fix /RESET bounce orderingMark Brown1-1/+1
We want to leave the device out of rather than in reset. Signed-off-by: Mark Brown <[email protected]>
2012-02-29ALSA: hda/conexant - Clear unsol events on unused pinsTakashi Iwai1-0/+45
It seems that Lenovo machines (or codec chip itself?) leave the unsol event tags and the enablement-flag from other pins bogusly even on the unused pins. Although this shouldn't be too critical, it's better to clear them up sanely. Signed-off-by: Takashi Iwai <[email protected]>
2012-02-29ALSA: hda - Add a fake mute featureTakashi Iwai3-3/+30
Some codecs don't supply the mute amp-capabilities although the lowest volume gives the mute. It'd be handy if the parser provides the mute mixers in such a case. This patch adds an extension amp-cap bit (which is used only in the driver) to represent the min volume = mute state. Also modified the amp cache code to support the fake mute feature when this bit is set but the real mute bit is unset. In addition, conexant cx5051 parser uses this new feature to implement the missing mute controls. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=42825 Cc: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2012-02-29ASoC: wm8994: Make sure we don't have MICBIAS on during jackdet modeMark Brown1-12/+13
Signed-off-by: Mark Brown <[email protected]>
2012-02-29ALSA: hda - Always set HP pin in unsol handler for STAC/IDT codecsTakashi Iwai1-1/+1
A bug report with an old Sony laptop showed that we can't rely on BIOS setting the pins of headphones but the driver should set always by itself. Cc: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2012-02-28ALSA: hda - Enable docking-station SPDIF for ThinkpadTakashi Iwai1-0/+1
The docking-station of Thinkpad X200 & co supports also an SPDIF output, and the corresponding pin 0x1c has to be enabled for using it. Reported-and-tested-by: Sebastian Glita <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2012-02-28ASoC: DT: Update digital microphone binding documentation to PAZ00 board.Leon Romanovsky1-0/+2
This patch updates device tree binding documentation to add digital microphone to PAZ00 board. Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-02-28ASoC: Remove unnecessary -codec from cs4270 driver nameShawn Guo3-4/+4
Similar to what commit 1e3ad57 (ASoC: Remove redundant -codec from WM8776 driver name) does for wm8776 driver, this patch does the same thing for cs4270 driver. Signed-off-by: Shawn Guo <[email protected]> Acked-by: Timur Tabi <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-02-28ASoC: fsl: align mpc8610_hpcd with p1022_ds on getting codec nodeShawn Guo1-6/+2
Align mpc8610_hpcd with p1022_ds on getting codec node by just calling of_parse_phandle. The bonus point of doing that is we can save exporting get_node_by_phandle_name() when we consolidate the common bits between mpc8610_hpcd and p1022_ds into a module, which can be shared by more machine drivers added later. Signed-off-by: Shawn Guo <[email protected]> Acked-by: Timur Tabi <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-02-28ASoC: fsl: correct get_dma_channel parameter nameShawn Guo2-4/+4
The second parameter of function get_dma_channel is actually a property name rather than a compatible string, so rename it for less confusing. Signed-off-by: Shawn Guo <[email protected]> Acked-by: Timur Tabi <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-02-28ALSA: hda - Add position_fix=4 (COMBO) optionTakashi Iwai3-3/+22
This patch adds a new position_fix option value, 4, as a combo mode to use LPIB for playbacks and POSBUF for captures. It's the way recommended by Intel hardware guys. Signed-off-by: Takashi Iwai <[email protected]>
2012-02-28ALSA: hda - Fix audio playback support on HP Zephyr systemVitaliy Kulikov1-0/+36
Enables port E of IDT 92HD91 codec as output and sets correct output phase between ports E and D and high pass filter. Signed-off-by: Vitaliy Kulikov <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2012-02-27ALSA: Use a define for the number of jack switch typesMark Brown2-2/+5
This is intended to facilitate the merge of the two jack detection mechanisms. Signed-off-by: Mark Brown <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2012-02-27ASoC: wm8753: Convert to devm_kzalloc()Mark Brown1-5/+5
Signed-off-by: Mark Brown <[email protected]>
2012-02-27ASoC: fix trivial build error in mpc5200_dma.cPaul Gortmaker1-0/+1
Add the obvious header to fix this: sound/soc/fsl/mpc5200_dma.c:301: error: implicit declaration of function 'DMA_BIT_MASK' sound/soc/fsl/mpc5200_dma.c:301: error: initializer element is not constant Signed-off-by: Paul Gortmaker <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-02-27ASoC: imx: let SND_MXC_SOC_FIQ select FIQShawn Guo1-1/+1
CONFIG_FIQ is only needed when CONFIG_SND_MXC_SOC_FIQ is selected to build imx-pcm-fiq.c, so let SND_MXC_SOC_FIQ select FIQ. Signed-off-by: Shawn Guo <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-02-25ALSA: azt3328 - Fix NULL ptr dereference on cards without OPL3Alban Bedel1-2/+1
opl3->private_data was set even if opl3 could not be created. Signed-off-by: Alban Bedel <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2012-02-25ALSA: hda/realtek - Fix resume of multiple input sourcesTakashi Iwai1-1/+1
When there are multiple input sources, the driver wrongly overwrites with the value of the last input source on other slots at resume. Thus the primary input source may be shown wrongly. Reported-and-tested-by: Julian Sikorski <[email protected]> Cc: <[email protected]> [v3.1+] Signed-off-by: Takashi Iwai <[email protected]>
2012-02-25ALSA: snd-usb-6fire: Select missing SND_VMASTER option in KconfigTorsten Schenk1-0/+1
Signed-off-by: Torsten Schenk <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
2012-02-24ASoC: core: Don't overwrite .poweroff in snd_soc_pm_opsViresh Kumar1-1/+5
SET_SYSTEM_SLEEP_PM_OPS writes .poweroff = *_resume once. Then we overwrite it again explicitly as .poweroff = snd_soc_poweroff. Even though it works, as the second one overwrites the first one, this is not the correct way. Fix this by expanding SET_SYSTEM_SLEEP_PM_OPS in our structure. Signed-off-by: Viresh Kumar <[email protected]> Signed-off-by: Mark Brown <[email protected]>
2012-02-23ASoC: wm8962: Convert interrupt handler to direct regmap usageMark Brown1-20/+39
Avoids potential locking issues with anything that needs the CODEC lock. Signed-off-by: Mark Brown <[email protected]>