summaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2011-03-08tegra-alsa: return accurate pcm pointer positionSumit Bhattacharya
Bug 793968 Change-Id: I257366d5e57739bbeb351b7fdf89655ad01cf6e1 Reviewed-on: http://git-master/r/21998 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
2011-03-01[tegra alsa] reset vmid and bias for wm8903Ravindra Lokhande
reset vimd and bias registers for wm8903 codec when codec bias level is off. fix for bug 773327 Change-Id: If7d46f4210fb70f2bfd47c46cdf834ec7b7b776e Reviewed-on: http://git-master/r/21226 Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Tested-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-02-22[tegra alsa] headphone detectionNikesh Oswal
added headphone detection logic for WM8753 on whistler Change-Id: I7c1c2a75480050ba03cb037393ead44761a7706f Reviewed-on: http://git-master/r/20298 Tested-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-02-22tegra-alsa: Cache das registers before suspendSumit Bhattacharya
Caching das registers before system suspend and restoring them during system resume. Also moved das power mode calls from tegra_pcm to tegra_i2s interface. Bug 792879 Bug 789967 Change-Id: I15a5f41a1aab6d74a8f5e29db25a93b26c4d4111 Reviewed-on: http://git-master/r/20292 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-02-22wm8903: Fix wm8903_resume() implementationSumit Bhattacharya
In wm8903_resume() codec should be powered up after restoring cached registers. Otherwise sequencer registers are getting overwritten after powering up of codec which was shutting down the codec during resume. Bug 792879 Bug 789967 Change-Id: Ic342a490f988ea1aa9597e6cd68e7d0a1000210a Reviewed-on: http://git-master/r/20270 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-02-18alsa: Set restrictions on period sizetegra-11.2.0Sumit Bhattacharya
Restrict period size to be multiple of 8 and period count to be integer. This is required to prevent audio breaks for playback through BT SCO. Bug 771510 Change-Id: If15631512bc5ce5a4358342b523da0a5a020cc2d Reviewed-on: http://git-master/r/19731 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-02-10[tegra ALSA] Added headphone jack detectionChao Jiang
Headphone jack detection is enabled with this patch. The jack will be reported via /sys/class/switch interface to user space. fixes bug 766757 Change-Id: I58908e7de1025b17cdf37079d5650aa5f503dcdd Reviewed-on: http://git-master/r/18707 Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Chao Jiang <chaoj@nvidia.com> Tested-by: Chao Jiang <chaoj@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-02-09[tegra alsa] generic codec DAINikesh Oswal
- use proper name for generic codec DAI Change-Id: I29eacc43e6922b28f440596fdbb9c544e12537f6 Reviewed-on: http://git-master/r/18846 Tested-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-02-08[tegra alsa] use generic codec DAINikesh Oswal
- use generic codec DAI for BT-SCO usecase Change-Id: Ied03e0ce2617d7b9ce8c8fd176f0b601a8896796 Reviewed-on: http://git-master/r/18716 Tested-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-02-07tegra alsa: Implement generic codec interfaceSumit Bhattacharya
Change-Id: I210dea5af60e11326ad23bafa78e937d4932e58c Reviewed-on: http://git-master/r/17564 Reviewed-by: Sachin Nikam <snikam@nvidia.com> Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-02-03[tegra alsa] configure i2s2 using platform dataRavindra Lokhande
use platform data to configure i2s2. Change-Id: If655bc96853ee85114381b5ae979ba0984e25f65 Reviewed-on: http://git-master/r/18028 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2011-01-25sound: tegra: Enabled Recording and fixed volumeNikesh Oswal
- Enabled Recording for WM8753. - Fixed low Volume in Play Back by enabling LDO7 - Fixed noise in PlayBack and Recording by using a bclk of 2.82 Mhz Bug 771506 Change-Id: I0c43adafa83969929cfdff700a71a68225ab4c22 Reviewed-on: http://git-master/r/16260 Tested-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Tested-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-01-20[tegra ALSA] use i2s platform data for i2s setupRavindra Lokhande
-i2s will be configured by using platform data passed to i2s driver. - removed i2s code from tegra_pcm.c file - clocks are enabled from i2s driver Change-Id: I4ed30903b16ae86173d7a802d1006f5be474531b Reviewed-on: http://git-master/r/16252 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-01-19[tegra-alsa] Add support for second i2s deviceNikesh Oswal
Added support in WM8753 soc file for second i2s dai and corresponding voice dai Change-Id: I93c2e06411b374108f72dfa7a58273575c856560 Reviewed-on: http://git-master/r/16091 Tested-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-01-17[tegra ALSA] add support for second i2sRavindra Lokhande
-Added support for second i2s device. -Moved i2s related code to tegra_i2s.c -Added second i2s device in board file. Change-Id: Ifa659dbceda840a15b445ea997882a2d3ef8ca50 Reviewed-on: http://git-master/r/14726 Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Tested-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-01-16[ARM] sound: soc: tegra: wm8753 codec interfaceSachin Nikam
Adding support for Audio codec wm8753. This is an interface between sound and codec driver. Change-Id: Iabf5ab17b40617d62cfebda93a0742f77f4f9013 Reviewed-on: http://git-master/r/16014 Tested-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-01-13[tegra ALSA] Set default Mic gain to 19.2dBtegra-10.11.2Manjula Gupta
Setting deafult gain to 19.2dB for record, as there is no interface to change gain for the recorded audio setting it to 80% of max gain by default. This fixes the low volume level issue for the audio streams recorded through mic. For Bug 763227 Change-Id: Id141ed235c2a8d1ac3d26bc7d0ad03e26e7c8396 Reviewed-on: http://git-master/r/15790 Tested-by: Manjula Gupta <magupta@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Masood Shaikh <mshaikh@nvidia.com> Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-01-12[tegra ALSA] separated codec and control codeRavindra Lokhande
- separated codec and control code - codec specific code is added to tegra_soc_xxx - alsa controls code added to tegra_soc_controls Fixes bug 759167 Change-Id: Ib8cd19364b3d4a0cb726d20b4eb1a7fab4017bf1 Reviewed-on: http://git-master/r/15637 Tested-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-01-10[tegra alsa] Add routing supportSumit Bhattacharya
Add three alsa controls to expose selection of playback device, capture device and call mode.Alsa kernel will route pcm data to the selected output/input port. bug 771510 Change-Id: Ibdeebbd799b2ae36046a77327ec8b6a3b01553a9 Reviewed-on: http://git-master/r/14729 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-01-10merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Conflicts: arch/arm/mach-tegra/fuse.c drivers/misc/Makefile Change-Id: I300b925d78b31efe00c342190d8dbd50e2e81230
2011-01-08[ARM] Kconfig: Option to select audio codecSachin Nikam
This will provide option to select audio codec for your board. Bug 759167 Change-Id: I7a8a5fb6ee43df5eb439f0cbfbeb2bc9bdcf9794 Reviewed-on: http://git-master/r/15111 Tested-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-01-08[tegra ALSA] making use of das driverRavindra Lokhande
Removed direct call to das registers, instead using calls of das driver. Change-Id: I230a98950b06a9b3d36cd983353ad810b1d52290 Reviewed-on: http://git-master/r/15008 Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-01-07ALSA: hda: Use LPIB quirk for Dell Inspiron m101z/1120Daniel T Chen
commit e03fa055bc126e536c7f65862e08a9b143138ea9 upstream. Sjoerd Simons reports that, without using position_fix=1, recording experiences overruns. Work around that by applying the LPIB quirk for his hardware. Reported-and-tested-by: Sjoerd Simons <sjoerd@debian.org> Signed-off-by: Daniel T Chen <crimsun@ubuntu.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-01-07sound: Prevent buffer overflow in OSS load_mixer_volumesDan Rosenberg
commit d81a12bc29ae4038770e05dce4ab7f26fd5880fb upstream. The load_mixer_volumes() function, which can be triggered by unprivileged users via the SOUND_MIXER_SETLEVELS ioctl, is vulnerable to a buffer overflow. Because the provided "name" argument isn't guaranteed to be NULL terminated at the expected 32 bytes, it's possible to overflow past the end of the last element in the mixer_vols array. Further exploitation can result in an arbitrary kernel write (via subsequent calls to load_mixer_volumes()) leading to privilege escalation, or arbitrary kernel reads via get_mixer_levels(). In addition, the strcmp() may leak bytes beyond the mixer_vols array. Signed-off-by: Dan Rosenberg <drosenberg@vsecurity.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-01-07ALSA: hda - Enable jack sense for Thinkpad Edge 11Manoj Iyer
commit 6027277e77df2d2893d906c42f5c9f9abcb731e0 upstream. Add a quirk entry for Thinkpad Edge 11 as well as other TP Edge models. Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-01-07ASoC: fix deemphasis control in wm8904/55/60 codecsDmitry Artamonow
commit 3f343f8512c7882a3637d9aea4ec6b3801cbcdc5 upstream. Deemphasis control's .get callback should update control's value instead of returning it - return value of callback function is used for indicating error or success of operation. Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru> 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>
2011-01-07ASoC: WM8580: Fix R8 initial valueSeungwhan Youn
commit a0968628097380be52db8b4664da98fc425546a5 upstream. Acc to WM8580 manual, the default value for R8 is 0x10, not 0x1c. Signed-off-by: Seungwhan Youn <sw.youn@samsung.com> 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>
2011-01-07ASoC: Fix swap of left and right channels for WM8993/4 speaker boost gainUk Kim
commit ed8cc471d75365f8590c76f580def899d58028c0 upstream. SPKOUTL_BOOST start from third bit, SPKOUTLR_BOOST start from 0 bit. Signed-off-by: Uk Kim <w0806.kim@samsung.com> 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>
2011-01-07ALSA: hda: Use model=lg quirk for LG P1 Express to enable playback and captureDaniel T Chen
commit 77c4d5cdb81d25a45fbdfb84dd3348121219a072 upstream. BugLink: https://launchpad.net/bugs/595482 The original reporter states that audible playback from the internal speaker is inaudible despite the hardware being properly detected. To work around this symptom, he uses the model=lg quirk to properly enable both playback, capture, and jack sense. Another user corroborates this workaround on separate hardware. Add this PCI SSID to the quirk table to enable it for further LG P1 Expresses. Reported-and-tested-by: Philip Peitsch <philip.peitsch@gmail.com> Tested-by: nikhov Signed-off-by: Daniel T Chen <crimsun@ubuntu.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-01-07ALSA: hda: Use position_fix=1 for Acer Aspire 5538 to enable capture on ↵Daniel T Chen
internal mic commit dd5a089edfa51a74692604b4b427953d8e16bc35 upstream. BugLink: https://launchpad.net/bugs/685161 The reporter of the bug states that he must use position_fix=1 to enable capture for the internal microphone, so set it for his machine's PCI SSID. Verified using 2.6.35 and the 2010-12-04 alsa-driver build. Reported-and-tested-by: Ralph Wabel <rwabel@gmx.net> Signed-off-by: Daniel T Chen <crimsun@ubuntu.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-01-07ALSA: hda - Always allow basic audio irrespective of ELD infoAnssi Hannula
commit 3dc86429032910bdf762adeb2969112bb303924c upstream. Commit bbbe33900d1f3c added functionality to restrict PCM parameters based on ELD info (derived from EDID data) of the audio sink. However, according to CEA-861-D no SAD is needed for basic audio (32/44.1/48kHz stereo 16-bit audio), which is instead indicated with a basic audio flag in the CEA EDID Extension. The flag is not present in ELD. However, as all audio capable sinks are required to support basic audio, we can assume it to be always available. Fix allowed audio formats with sinks that have SADs (Short Audio Descriptors) which do not completely overlap with the basic audio formats (there are no reports of affected devices so far) by always assuming that basic audio is supported. Reported-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-01-07ALSA: hda - Do not wrongly restrict min_channels based on ELDAnssi Hannula
commit 4b0dbdb17f846a8887e5f7fbeea2deb0703236bd upstream. Commit bbbe33900d1f3c added functionality to restrict PCM parameters based on ELD info (derived from EDID data) of the audio sink. However, it wrongly assumes that the bits 0-2 of the first byte of CEA Short Audio Descriptors mean a supported number of channels. In reality, they mean the maximum number of channels (as per CEA-861-D 7.5.2). This means that the channel count can only be used to restrict max_channels, not min_channels. Restricting min_channels causes us to deny opening the device in stereo mode if the sink only has SADs that declare larger numbers of channels (like Primare SP32 AV Processor does). Fix that by not restricting min_channels based on ELD information. Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi> Reported-by: Jean-Yves Avenard <jyavenard@gmail.com> Tested-by: Jean-Yves Avenard <jyavenard@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-01-07ALSA: HDA: Quirk for Dell Vostro 320 to make microphone workDavid Henningsson
commit 8a96b1e02029aa512199b1b6d281dcede9ed81f1 upstream. BugLink: http://launchpad.net/497546 Confirmed that the ideapad model works better than the current quirk for Dell Vostro 320. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-01-04[tegra ALSA] Fix Playback crash after RecordManjula Gupta
Set DAP Pinmux pins to tristate only when no dai is active. For bug: 773232 Change-Id: Icc1e6734208e6d59454e27986240d09cf19c2c7b Reviewed-on: http://git-master/r/14457 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-01-04[tegra ALSA]: Fix for kernel panic in dma_isrManjula Gupta
Fix to handle overrun and underrun cases and gracefully exit dma buffering threads during overrun and underrun conditions. For bug: 774397 Change-Id: Ie8e320981b5f01bf5283f1b1048d7859088a3b82 Reviewed-on: http://git-master/r/14456 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-01-03[tegra ALSA] Save/Restore I2S Registers on suspend/resume.Manjula Gupta
Added support to save and restore I2S registers on suspend/resume. For Bug: 774397 Change-Id: I2a0caf93f422811573ec2acd193de3804f8860a0 Reviewed-on: http://git-master/r/14454 Tested-by: Manjula Gupta <magupta@nvidia.com> Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-23merging android-tegra-2.6.36 into git-master/linux-2.6/android-tegra-2.6.36Nitin Kumbhar
Conflicts: arch/arm/mach-tegra/board-ventana-power.c drivers/mfd/tps6586x.c Change-Id: Ic8c46d4251d6e71fa2900b7e876f87e256299bc4
2010-12-14[misc] convert dos newline to unix formatChao Jiang
Linux kernel source code usually use Unix newline. Change-Id: I24ffca15ebe0eb03b8af1023b552ee17e2c090e0 Reviewed-on: http://git-master/r/12676 Reviewed-by: David Schalig <dschalig@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-12-09ALSA: hda: Use "alienware" model quirk for another SSIDDaniel T Chen
commit 0defe09ca70daccdc83abd9c3c24cd89ae6a1141 upstream. BugLink: https://launchpad.net/bugs/683695 The original reporter states that headphone jacks do not appear to work. Upon inspecting his codec dump, and upon further testing, it is confirmed that the "alienware" model quirk is correct. Reported-and-tested-by: Cody Thierauf Signed-off-by: Daniel T Chen <crimsun@ubuntu.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-09ALSA: Fix SNDCTL_DSP_RESET ioctl for OSS emulationTakashi Iwai
commit 60686aa0086a14f8b15c83a09f3df1eebe3aab3c upstream. In OSS emulation, SNDCTL_DSP_RESET ioctl needs the reset of the internal buffer state in addition to drop of the running streams. Otherwise the succeeding access becomes inconsistent. Tested-by: Amit Nagal <helloin.amit@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-09ALSA: HDA: Add an extra DAC for Realtek ALC887-VDDavid Henningsson
commit cc1c452e509aefc28f7ad2deed75bc69d4f915f7 upstream. The patch enables ALC887-VD to use the DAC at nid 0x26, which makes it possible to use this DAC for e g Headphone volume. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-09ALSA: hda - Fix ALC660-VD/ALC861-VD capture/playback mixersHerton Ronaldo Krzesinski
commit 7167594a3da7dcc33203b85d62e519594baee390 upstream. The mixer nids passed to alc_auto_create_input_ctls are wrong: 0x15 is a pin, and 0x09 is the ADC on both ALC660-VD/ALC861-VD. Thus with current code, input playback volume/switches and input source mixer controls are not created, and recording doesn't work. Select correct mixers, 0x0b (input playback mixer) and 0x22 (capture source mixer). Reference: https://qa.mandriva.com/show_bug.cgi?id=61159 Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-09ALSA: hda - Use ALC_INIT_DEFAULT for really default initializationTakashi Iwai
commit 5a8cfb4e8ae317d283f84122ed20faa069c5e0c4 upstream. When SKU assid gives no valid bits for 0x38, the driver didn't take any action, so far. This resulted in the missing initialization for external amps, etc, thus the silent output in the end. Especially users hit this problem on ALC888 newly since 2.6.35, where the driver doesn't force to use ALC_INIT_DEFAULT any more. This patch sets the default initialization scheme to use ALC_INIT_DEFAULT when no valid bits are set for SKU assid. Reference: https://bugzilla.redhat.com/show_bug.cgi?id=657388 Reported-and-tested-by: Kyle McMartin <kyle@redhat.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-09ALSA: hda: Add Samsung R720 SSID for subwoofer pin fixupDaniel T Chen
commit a0e90acc657990511c83bc69965bfd3c63386d45 upstream. BugLink: https://launchpad.net/bugs/677830 The original reporter states that the subwoofer does not mute when inserting headphones. We need an entry for his machine's SSID in the subwoofer pin fixup list, so add it there (verified using hda_analyzer). Reported-and-tested-by: i-NoD Signed-off-by: Daniel T Chen <crimsun@ubuntu.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-09ALSA: hda: Add speaker pin to automute Acer Aspire 8943GDaniel T Chen
commit 2df03514de41f3bbb5623f2e7f2bf594e49cb2ec upstream. BugLink: https://bugs.launchpad.net/bugs/656625 Add clause for handling Acer Aspire 8943G's subwoofer as additional speaker pin for automuting. Reported-by: RussianNeuroMancer Signed-off-by: Daniel T Chen <crimsun@ubuntu.com> Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-09ALSA: hda - Added fixup for Lenovo Y550PValentine Sinitsyn
commit d41185882b828896ccecac319c9f65f708baaf0d upstream. Signed-off-by: Valentine Sinitsyn <valentine.sinitsyn@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-09ALSA: HDA: Add fixup pins for Ideapad Y550David Henningsson
commit 6cb3b707f95954ac18f19b4b3919af235738371a upstream. By adding the subwoofer as a speaker pin, it is treated correctly when auto-muting. BugLink: https://launchpad.net/bugs/611803 Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-09ALSA: ac97: Apply quirk for Dell Latitude D610 binding Master and Headphone ↵Daniel T Chen
controls commit 0613a59456980161d0cd468bae6c63d772743102 upstream. BugLink: https://launchpad.net/bugs/669279 The original reporter states: "The Master mixer does not change the volume from the headphone output (which is affected by the headphone mixer). Instead it only seems to control the on-board speaker volume. This confuses PulseAudio greatly as the Master channel is merged into the volume mix." Fix this symptom by applying the hp_only quirk for the reporter's SSID. The fix is applicable to all stable kernels. Reported-and-tested-by: Ben Gamari <bgamari@gmail.com> Signed-off-by: Daniel T Chen <crimsun@ubuntu.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-09ALSA: hda - Fixed ALC887-VD initial errorKailang Yang
commit 01e0f1378c47947b825eac05c98697ab1be1c86f upstream. ALC887-VD is like ALC888-VD. It can not be initialized as ALC882. Signed-off-by: Kailang Yang <kailang@realtek.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-09ASoC: wm8961 - clear WM8961_MCLKDIV bit for freq <= 16500000Axel Lin
commit 2f7dceeda4708f470fd927adb3861bd8ebbe2310 upstream. MCLKDIV bit of Register 04h Clocking1: 0 : Divide by 1 1 : Divide by 2 Thus in the case of freq <= 16500000, we should clear MCLKDIV bit. Signed-off-by: Axel Lin <axel.lin@gmail.com> 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>