summaryrefslogtreecommitdiff
path: root/sound
AgeCommit message (Collapse)Author
2013-04-10ALSA: hda: Cancel delayed work during suspendRahul Mittal
Register hda codec suspend callback which does cancel_delayed_work_sync() during suspend Bug 1266206 Change-Id: Ie3f17156ebf0f648f4db1cfa2bfb0081bd4b0ed7 Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/217860 Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-03-29asoc: tegra: Add rt5640 pll configuration for hifi i2s slaveRahul Mittal
- Configure codec PLL to generate 512*fs mhz clock from 12mhz clk_m input - Correct bclk_ms bit in codec which should be 1 for frame_size = 32 bits Bug 1256349 Change-Id: I94238622a43aff9efdefbf8aaf68e655fa6662cd Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/211493 Reviewed-by: Scott Peterson <speterson@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-03-26asoc: tegra: aic326x: Use avdd_audio regulatorVijay Mali
- Enable avdd_audio regulator during playback on Headphone and Speaker. - This prevent leakage current in codec. - Improve codec power numbers. Bug 1238662 Change-Id: Ie9fa31b6291c06ad4f83138c4e595fb4da29a7f9 Signed-off-by: Vijay Mali <vmali@nvidia.com> Reviewed-on: http://git-master/r/211670 Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Niranjan Wartikar <nwartikar@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-03-19video: tegra: dc: fix the logic for dis ref-count.Kevin Huang
Use simple logic to meet the requirement of use cases. All logic is implemented in powergate module. Dependency of dis partitions are transparent to client. Change-Id: I3ad900c80a1b12e8397643c078d1269ae9f3dac1 Signed-off-by: Kevin Huang <kevinh@nvidia.com> Reviewed-on: http://git-master/r/210088 Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com> Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
2013-03-18asoc: tegra: aic326x: Fix LP1 power for VDDIO_AUDIORahul Mittal
- Register DAPM map/widgets with snd_soc_card structure - Enable idle bias off for TI codec - Correct an error in handling bias level setting Bug 1251424 Change-Id: Id1ed89955a2b8e705c3fd8b0557ca51afeef616d Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/209997 Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-03-15asoc: aic326x codec: Switch off MiniDSP during PlaybackVijay Mali
Use "Low Power Playback" mode does not require MiniDSP. Switch off minidsp during playback usecase. Bug 1238662 Change-Id: I55be90366d8e2320d9f8190daa3cf7a8ff45bf4f Signed-off-by: Vijay Mali <vmali@nvidia.com> Reviewed-on: http://git-master/r/209428 Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com>
2013-03-14soc: tegra: fix coverity errorsDara Ramesh
fix memory cleanup and array comparison with null. Change-Id: Ib27b0814c2744024f36fa3f3f510927eceb490a1 Signed-off-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-on: http://git-master/r/206284 Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com> Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
2013-03-11asoc: alc5640: Mic noise gateScott Peterson
Enabled noise gate and high pass wind filter to improve recording performance. Bug 1234255 Change-Id: I57f4580b979356ec800500d1879e825655058a20 Signed-off-by: Scott Peterson <speterson@nvidia.com> Reviewed-on: http://git-master/r/206858 GVS: Gerrit_Virtual_Submit Reviewed-by: Rahul Mittal <rmittal@nvidia.com> Tested-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-by: Niranjan Wartikar <nwartikar@nvidia.com> Reviewed-by: Vijay Mali <vmali@nvidia.com>
2013-03-11asoc: alc5640 Heaphone gain boostScott Peterson
Modified rt5640.c to enable greater output swing by enabling dynamic control of charge pump as well as adding headphone DC calibration and power management changes. bug 1211589 Change-Id: Icc3a6253c1456d8d66da9c8a04e05a54ae211391 Signed-off-by: Scott Peterson <speterson@nvidia.com> Reviewed-on: http://git-master/r/206851 GVS: Gerrit_Virtual_Submit Reviewed-by: Rahul Mittal <rmittal@nvidia.com> Tested-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-by: Vijay Mali <vmali@nvidia.com>
2013-03-08asoc: tegra: aic326x: Add support for BT voice call recordingRahul Mittal
Added BT voice call recording support Call recording works fine on BT and normal call switching Bug 1247059 Change-Id: Ide4e0ed0b69485dd9d7f0a2877970b3fe04b1f38 Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/206692 Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com> Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
2013-03-06Merge branch 'linux-3.4.35' into rel-17Sachin Nikam
Bug 1243631 Change-Id: I915826047b2e20f0ad0a7d75df295c6cbf6e5b0a
2013-03-06asoc: tegra: aic326x: Fix DAM allocation for BT voice callRahul Mittal
Added a check to not allocate call record DAMs if it is a BT call BT call requires 2 DAMs, and since we have only 3 DAMs, we can't allocate the 2 DAMs that are needed for call recording Fixed system sound mixing during BT call Bug 1242683 Change-Id: I515ac5627c9221ada5a6d4491d6a37ad38c3196f Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/204524 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Vijay Mali <vmali@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com>
2013-03-04ALSA: hda - hdmi: Make jacks phantom, if they're not detectableDavid Henningsson
commit 30efd8debd1ef30be342d374f01e993509f5b76b upstream. Just as for analog codecs, a jack that isn't suitable for detection (in this case, NO_PRESENCE was set) should be a phantom Jack instead of a normal one. Thanks to Raymond Yau for spotting. BugLink: https://bugs.launchpad.net/bugs/961286 BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=903869 Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-03-01asoc: codecs: Set ASI1 I2S Port as MasterVijay Mali
Remove code for seting WCLK and BCLK divisor. AIC3262 firmware should configure the divisors. Bug 1235898 Change-Id: I89abdbb07372b36573048b8a1fca149173a82f07 Signed-off-by: Vijay Mali <vmali@nvidia.com> Reviewed-on: http://git-master/r/200683 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2013-02-28ASoC: wm2200: correct IN2L and IN3L digital muteChris Rattray
commit 0d2b6422529a26ac4dee06196524ba9da70cf735 upstream. Signed-off-by: Chris Rattray <crattray@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-28ALSA: hda - hdmi: ELD shouldn't be valid after unplugDavid Henningsson
commit bbfd8a19b6913f50a362457c34d49bfafe5e456e upstream. Currently, eld_valid is never set to false, except at kernel module load time. This patch makes sure that eld is no longer valid when the cable is (hot-)unplugged. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-28ALSA: hda - Workaround for silent output on Sony Vaio VGC-LN51JGB with ALC889Fernando Luis Vazquez Cao
commit 12e31a78c70dc12897fda2489113f445c0e94a18 upstream. Some Vaio all-in-one desktop PCs (for example VGC-LN51JGB) are affected by the same issue that caused Vaio Z laptops to become silent: the speaker pin must be connected to the first DAC even though the codec itself advertises flexible routing through any of the DACs. Use the no-primary-hp fixup for choosing the speaker pin as the primary so that the right DAC is assigned on this device. Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-28ALSA: hda - Release assigned pin/cvt at error path of hdmi_pcm_open()Takashi Iwai
commit 2ad779b7329d6894a80df94e693e72eaa0d56790 upstream. If the driver detects and invalid ELD, it gives an open error. But it forgot to release the assigned pin, converter and spdif ctls before returning. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-28ALSA: usb-audio: fix Roland A-PRO supportClemens Ladisch
commit 7da58046482fceb17c4a0d4afefd9507ec56de7f upstream. The quirk for the Roland/Cakewalk A-PRO keyboards accidentally used the wrong interface number, which prevented the driver from attaching to the device. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-28ALSA: rme32.c irq enabling after spin_lock_irqDenis Efremov
commit f49a59c4471d81a233e09dda45187cc44fda009d upstream. According to the other code in this driver and similar code in rme96 it seems, that spin_lock_irq in snd_rme32_capture_close function should be paired with spin_unlock_irq. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Denis Efremov <yefremov.denis@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-28ALSA: ali5451: remove irq enabling in pointer callbackDenis Efremov
commit dacae5a19b4cbe1b5e3a86de23ea74cbe9ec9652 upstream. snd_ali_pointer function is called with local interrupts disabled. However it seems very strange to reenable them in such way. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Denis Efremov <yefremov.denis@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-26ASoC: Tegra: Fix I2S_SLOT_CTRL2 reg accessSumit Bhattacharya
When I2S_SLOT_CTRL2 register is modified for TX or RX port previous value in the register for the other port need to be saved. This will fix concurrent playback capture issues in BT SCO mode. Bug 1233807 Change-Id: I618c0e929e0d2c6f16a327a1cc66c61a6d8f6fe6 Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-on: http://git-master/r/202583 Reviewed-by: Scott Peterson <speterson@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
2013-02-19asoc: tegra: Protect against invalid gpio writesScott Peterson
Protect against calling gpio_direction_output() with an innvalid gpio handle. Bug 1233665 Change-Id: I00dc7a2a254c7f57ba2894328abd52324bcb304d Signed-off-by: Scott Peterson <speterson@nvidia.com> Reviewed-on: http://git-master/r/198978 Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com> Reviewed-by: Matt Wagner <mwagner@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-02-15asoc: AIC3262: Enable headset micVijay Mali
Fix no upstream audio in voice call. For bug 1236029 Change-Id: Ifeef0c03ab12c851e1f148ef9ffc5311e7eecea6 Signed-off-by: Vijay Mali <vmali@nvidia.com> Reviewed-on: http://git-master/r/200700 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-02-11asoc: tegra: fixing EDP client prioritiesSivaram Nair
The client priorities are fixed to reflect the change in EDP driver. Change-Id: I445c4d484fa14d584389fe43e0aa1137ec6bae81 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/199294 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-02-11tlv320aic3xxx: add i2c shutdown implementationRahul Mittal
Adds i2c shutdown related checks Bug 1226744 Change-Id: Ic9833dd620f108d6c4a339579b71e80c790503f9 Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/197860 Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2013-02-07asoc: tegra: add speaker AMP EDP supportDara Ramesh
a) added speaker AMP EDP support for TI codec b) set speaker AMP EDP state with E1 in probe function Bug 1160686 Change-Id: I749ec8aba26d83fdd29aba2080230da5161d0c9e Signed-off-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-on: http://git-master/r/197478 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2013-02-06asoc: AIC3262: Fix headset detection failure during bootupVijay Mali
Remove codec driver call for headset detection. On Pluto headset detection is done using AP GPIO pin. Remove unused code. For bug 1228726 Change-Id: I4be5a0c89375749919eb3222293564318bde9547 Signed-off-by: Vijay Mali <vmali@nvidia.com> Reviewed-on: http://git-master/r/197463 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Rahul Mittal <rmittal@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com>
2013-02-05audio: Power manage Realtek codec when TFA is in use.Vinod Subbarayalu
Change-Id: I4c32cdde467c597e55eadee54c7a9202ee219975 Signed-off-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com> Reviewed-on: http://git-master/r/191520 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2013-02-04asoc: tegra: aic326x: Fix build break and cleanupVijay Mali
Fix build break for cardhu where DAM coefficient programming is not supported. Add appropriate check for compilation. Cleanup - remove DAM shutdown sequence Bug 1179798 Change-Id: Ia12dcbd1eb45b27d18ae2a2acb6d5554256cc7f9 Signed-off-by: Vijay Mali <vmali@nvidia.com> Reviewed-on: http://git-master/r/195949 Reviewed-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Tested-by: Scott Peterson <speterson@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com>
2013-02-03ASoC: wm2200: correct mixer values and textChris Rattray
commit a80cc734282805e15b5e023751a4d02f7ffbcc91 upstream. Signed-off-by: Chris Rattray <crattray@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-03ALSA: hda - Add a fixup for Packard-Bell desktop with ALC880Takashi Iwai
commit 0712eea349d8e2b6d0e44b94a752d999319027fb upstream. A Packard-Bell desktop machine gives no proper pin configuration from BIOS. It's almost equivalent with the 6stack+fp standard config, just take the existing fixup. Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=901846 Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-03ALSA: usb-audio: fix invalid length check for RME and other UAC 2 devicesClemens Ladisch
commit d56268fb108c7c21e19933588ca4d94652585183 upstream. Commit 23caaf19b11e (ALSA: usb-mixer: Add support for Audio Class v2.0) forgot to adjust the length check for UAC 2.0 feature unit descriptors. This would make the code abort on encountering a feature unit without per-channel controls, and thus prevented the driver to work with any device having such a unit, such as the RME Babyface or Fireface UCX. Reported-by: Florian Hanisch <fhanisch@uni-potsdam.de> Tested-by: Matthew Robbetts <wingfeathera@gmail.com> Tested-by: Michael Beer <beerml@sigma6audio.de> Cc: Daniel Mack <daniel@caiaq.de> Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-01arm: tegra: macallan: create board fileKerwin Wan
Create initial board files and config files for Macallan. Bug 1216782 Change-Id: I5ccf8f79a1c29659fc518277da1a96531f48c5ba Signed-off-by: Kerwin Wan <kerwinw@nvidia.com> Signed-off-by: Johnny Qiu <joqiu@nvidia.com> Signed-off-by: Hayden Du <haydend@nvidia.com> Signed-off-by: hyongbink <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/193645 Reviewed-by: Prajakta Gudadhe <pgudadhe@nvidia.com>
2013-01-30asoc: codecs: rt5640: fix headset power issueDara Ramesh
Write back the power control register values after detecting headset or headphone. bug 1218111 Change-Id: I372c3d1e397290d8c31bd0591861731d4eb861db Signed-off-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-on: http://git-master/r/194637 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Vijay Mali <vmali@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-01-28soc: tegra: cs42l73: add speaker AMP EDP supportDara Ramesh
a) registered speaker AMP EDP client b) implemented throttle callback function for EDP Bug 1160686 Change-Id: I79906d3fd5dbfbedea7512d9745c59d700e325d5 Signed-off-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-on: http://git-master/r/193065 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2013-01-28asoc: tegra: aic326x: Add Voice call recording connectionsVijay Mali
Use tegra for mixing UL+DL audio Setup DAM for SRC and mixing Add voice call recording connections Bug 1179798 Change-Id: I8027ac48eb265537795c7c1ac1c57758fa6c8f20 Signed-off-by: Vijay Mali <vmali@nvidia.com> Reviewed-on: http://git-master/r/193631 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2013-01-27asoc: tegra: SPI interface for TI codecScott Peterson
Add support for accessing the TI aic3262 codec using the spi interface Change-Id: I30c72ac2bec5cd51e472f8f4e0750cd533d354a3 Signed-off-by: Scott Peterson <speterson@nvidia.com> Change-Id: I0dff26133be6c5f0ec36113a61e2b1b5b57b3339 Reviewed-on: http://git-master/r/194172 Tested-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2013-01-27ALSA: usb-audio: Fix regression by disconnection-race-fix patchTakashi Iwai
[NOTE: the regression below is found only in 3.2-3.4 stable trees, so there is no upstream commit corresponding to this patch] The recent fix for the race at disconnection of usb-audio devices (upstream commit 978520b7) triggers Oops when a device is unplugged while playing on 3.2 and 3.4 kernels. The culprit is that the shutdown flag check was wrongly added around the urb deactivation code snippet. The urb deactivation code has to be performed even after the device disconnected. Otherwise it remains undead and pokes the wild access in the end. The regression fix is simply reverting the shutdown flag check in that code. Reported-and-tested-by: Chris J Arges <christopherarges@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-22asoc: tegra: Support Voice + MediaScott Peterson
Add support for concurent voice and media streams without using the DAM when the audio codec supports two I2S interfaces. Bug 1213272 Change-Id: Ie39d048a27003bc69ab40ee4d3087d15894f168f Signed-off-by: Scott Peterson <speterson@nvidia.com> Reviewed-on: http://git-master/r/192202 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Rahul Mittal <rmittal@nvidia.com>
2013-01-21ALSA: usb - fix race in creation of M-Audio Fast track pro driverDavid Henningsson
commit b98ae2729dea161edc96c9d177459b6c28bcbba5 upstream. A patch in the 3.2 kernel caused regression with hotplugging the M-Audio Fast track pro, or sound after suspend. I don't have the device so I haven't done a full analysis, but it seems userspace (both udev and pulseaudio) got confused when a card was created, immediately destroyed, and then created again. However, at least one person in the bug report (martin djfun) reports that this patch resolves the issue for him. It also leaves a message in the log: "snd-usb-audio: probe of 1-1.1:1.1 failed with error -5" which is a bit misleading. It is better than non-working audio, but maybe there's a more elegant solution? BugLink: https://bugs.launchpad.net/bugs/1095315 Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Cc: CAI Qian <caiqian@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-17ALSA: pxa27x: fix ac97 warm resetMike Dunn
commit 3b4bc7bccc7857274705b05cf81a0c72cfd0b0dd upstream. This patch fixes some code that implements a work-around to a hardware bug in the ac97 controller on the pxa27x. A bug in the controller's warm reset functionality requires that the mfp used by the controller as the AC97_nRESET line be temporarily reconfigured as a generic output gpio (AF0) and manually held high for the duration of the warm reset cycle. This is what was done in the original code, but it was broken long ago by commit fb1bf8cd ([ARM] pxa: introduce processor specific pxa27x_assert_ac97reset()) which changed the mfp to a GPIO input instead of a high output. The fix requires the ac97 controller to obtain the gpio via gpio_request_one(), with arguments that configure the gpio as an output initially driven high. Tested on a palm treo 680 machine. Reportedly, this broken code only prevents a warm reset on hardware that lacks a pull-up on the line, which appears to be the case for me. Signed-off-by: Mike Dunn <mikedunn@newsguy.com> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-17ALSA: pxa27x: fix ac97 cold resetMike Dunn
commit 41b645c8624df6ace020a8863ad1449d69140f7d upstream. Cold reset on the pxa27x currently fails and pxa2xx_ac97_try_cold_reset: cold reset timeout (GSR=0x44) appears in the kernel log. Through trial-and-error (the pxa270 developer's manual is mostly incoherent on the topic of ac97 reset), I got cold reset to complete by setting the WARM_RST bit in the GCR register (and later noticed that pxa3xx does this for cold reset as well). Also, a timeout loop is needed to wait for the reset to complete. Tested on a palm treo 680 machine. Signed-off-by: Mike Dunn <mikedunn@newsguy.com> Acked-by: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-17ASoC: wm5100: Remove DSP B and left justified formatsMark Brown
commit 5f960294e2031d12f10c8488c3446fecbf59628d upstream. These are not supported Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-17ASoC: wm2200: Remove DSP B and left justified AIF modesMark Brown
commit 0cc411b934c4317b363d1af993549f391852b980 upstream. These are not supported. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-17ASoC: wm2200: Fix setting dai format in wm2200_set_fmtAxel Lin
commit 2a5f431592343b78896013b055582f94c12a5049 upstream. According to the defines in wm2200.h: /* * R1284 (0x504) - Audio IF 1_5 */ We should not left shift 1 bit for fmt_val when setting dai format. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-17ASoC: wm2000: Fix sense of speech clarity enableMark Brown
commit 267f8fa2e1eef0612b2007e1f1846bcbc35cc1fa upstream. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-17ASoC: sigmadsp: Fix endianness conversion issueLars-Peter Clausen
commit a3adb1432d7a3ad86bb17a1638e44414537e4118 upstream. The 'addr' field of the sigma_action struct is stored as big endian in the firmware file. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-16asoc: tegra: aic326x: Fix BT and normal voice call switchingRahul Mittal
DAM was getting configured in passthrough mode in normal voice call path DAM not required in normal voice call, as BB and codec both operate at 16khz Disabled the DAM from voice path for aic3262 codec, which fixed the switching Bug 1179798 Change-Id: I65fbcefa157eaa7f507a1352c3cfe7abc3661bb3 Signed-off-by: Rahul Mittal <rmittal@nvidia.com> Reviewed-on: http://git-master/r/191633 Reviewed-by: Vijay Mali <vmali@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com>
2013-01-16asoc: tegra: cs42l73: change sw registration logicNikesh Oswal
change switch registration and unregistration logic to use common api's implemented in tegra_asoc_utils Bug 1203124 Change-Id: Ie5264617b330d9bda6481eae410c0fdb59139e07 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/188339 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>