summaryrefslogtreecommitdiff
path: root/sound/soc/codecs
AgeCommit message (Collapse)Author
2012-03-23asoc: codecs: max98088: check for revision idNikesh Oswal
check for revision id, it must be 0x40 as per the datasheet, if its not 0x40 then dont allow the card to register by failing in the codec probe. This functionality will be required when the same board support multiple codecs. Also register the irq only after validating the codec. Change-Id: I8553b85d534428c7137ec2d03e2f814b898609a6 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/90061 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-03-08asoc: codecs: update the TIAIC326x driverNikesh Oswal
update the TIAIC326x driver for voice call Change-Id: I1443b462b5b7e049fe4cbf39215aea6eeb955500 Reviewed-on: http://git-master/r/88012 Tested-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-03-05asoc: codecs: Fix pop noise while booting for ALC5639/40Manoj Gangwal
Fix for pop noise 'cut' from internal speaker while booting on kai board. Bug 929049 Change-Id: I9c3fe7e05d869709f50036042e70abc91722885e Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/87685 Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-03-02asoc: codecs: Add Headset detect support for ALC5639/40Manoj Gangwal
Add support for headset detection for ALC5639/40 codec for kai board. Bug 937914 Change-Id: I0bb9e913601c37a1cc8f7094fbdd3885aeec92b3 Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/86348 Reviewed-by: Chandler Zhang <chazhang@nvidia.com> Tested-by: Chandler Zhang <chazhang@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
2012-02-28asoc: codecs: support 26MHz mclk for aic326x codecHarry Hong
bug 940617 Change-Id: I83f43820761d0227d7a594123d22fe79089e2e15 Signed-off-by: Harry Hong <hhong@nvidia.com> Reviewed-on: http://git-master/r/86280 Reviewed-by: Scott Peterson <speterson@nvidia.com> Tested-by: Gerrit_Virtual_Submit
2012-02-23asoc: codecs: remove device id for aic326x codec driverNikesh Oswal
Change-Id: Ia6fac687a6b302fa49b6f8a7cfd74abfde5b45f9 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/84544 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-02-23asoc: codecs: aic326x: configure ASI2 as masterNikesh Oswal
configure ASI2 as master and add missing dapm widgets and routes Change-Id: If2f9c8361888ec40147cd5537f435c91e50cbcc8 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/84538 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-02-23asoc: codecs: aic326x: add process flow for voice callNikesh Oswal
Change-Id: Ie8ef49b2a76e27e07835fb61bce23ddf69c0b1f9 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/84537 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-02-23asoc: codecs: aic326x: enable the headset interrupts after jack registrationNikesh Oswal
Change-Id: I682ccc9ba44f82b8acf836c1703d5d54419da54b Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/84535 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-02-23asoc: codecs: aic326x: change the init values of aic326x registersNikesh Oswal
change the init values of aic326x registers to keep unrequired codec elements powered off to save power, these codec elements would be turned on when required by dapm Change-Id: Id843fae2ca1f30b77c402da7ac24e89fb04828b6 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/84534 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-02-23asoc: codecs: aic326x: add mixer controls for configuring CM modesNikesh Oswal
add mixer controls for configuring CM modes and use the non-inverting modes for speaker and receiver mixers Change-Id: I247ccea17d08dc92ac035d6e8070fb146d26b7f5 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/84532 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-02-23sound: soc: codecs: update the TI codec driver for K39Nikesh Oswal
Change-Id: If40c181227981696961d3c563008261e5324e807 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/84528 Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-02-16asoc: rt5639: Write the right device idKerwin Wan
The value of reset register of ALC5639 is 0x0008 instead of 0x000c. bug 931371 Change-Id: I5fbf31411ddab2358d61f998f74a7b1f8c151312 Signed-off-by: Kerwin Wan <kerwinw@nvidia.com> Reviewed-on: http://git-master/r/83318 Reviewed-by: Chandler Zhang <chazhang@nvidia.com> Tested-by: Chandler Zhang <chazhang@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-02-16asoc: codecs: Add Suspend/Resume support for ALC5640Manoj Gangwal
- Added suspend/resume support for ALC5640 - Fix for I2S1 interface Bug 936013 Change-Id: I60b0eb224e9475b722ecb9e2fb8bf0a6dae12767 Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/83058 Reviewed-by: Johnny Qiu <joqiu@nvidia.com> Tested-by: Johnny Qiu <joqiu@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-02-10asoc: codecs: Fix build break for ALC5639 codecRakesh Iyer
The vendor supplied driver has to be fixed to work on older kernels. Bug 931371 Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-on: http://git-master/r/78278 (cherry picked from commit ffce206b2d67bb9618a97d08e88c6ae25ba79baa) Change-Id: Ifd8712758307cd4f31526cc050c62a89187a7c8d Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-on: http://git-master/r/82733 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Manoj Gangwal <mgangwal@nvidia.com>
2012-02-10asoc: codecs: Add vendor supplied files for ALC5639 codecRakesh Iyer
Add files for ALC5639 codec as provided by vendor. Bug 931371 Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-on: http://git-master/r/78277 (cherry picked from commit b45ab605accb68fd303deec5ed962f213047f9bf) Change-Id: I6c19e13c3dfec394cef812a5be1bc2ee5d58751b Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-on: http://git-master/r/82732 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Manoj Gangwal <mgangwal@nvidia.com>
2012-02-10asoc: codecs: Add support for ALC5639 codecRakesh Iyer
Add support for ALC5639 codec present in the KAI A01 board. Bug 931371 Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-on: http://git-master/r/77952 (cherry picked from commit 1747f1003be6413e0e173dee39b25afcbe522528) Change-Id: I5180d4ed669c4100ca29e6ed508406e69a88fe88 Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-on: http://git-master/r/82730 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Manoj Gangwal <mgangwal@nvidia.com>
2012-01-30asoc: wm8903: Fix clock functionsScottPeterson
Clock function for non-integral of sample rate clocks does not work correctly and generates incorrect sample rate. Signed-off-by: ScottPeterson <speterson@nvidia.com> Reviewed-on: http://git-master/r/75792 Change-Id: I39977c9e2b647d4eabc8d9209c2d05665f708ab0 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/77752 Reviewed-by: Automatic_Commit_Validation_User
2012-01-30asoc: codecs: wm8753: allow to change the dai mode even when codec is busyNikesh Oswal
In Voice Call when ringtone stream is opened the codec is busy and the call mode needs to be set before closing the ringtone stream hence we put the logic in codec driver to enable dai mode change even when codec is busy Bug: 919350 Reviewed-on: http://git-master/r/76954 Change-Id: Iaf7176b3a7f72709140e29c2c6071ab4101ec418 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/77732 Reviewed-by: Automatic_Commit_Validation_User
2012-01-20ASoC: WM8903: Use 2x of miniumum bitclk in master modeSumit Bhattacharya
Instead of using tight bitclk use 2x of minimum bitclk requirement in codec master mode. This change is needed to have clean audio in codec master mode on Tegra30 based cardhu platform. Bug 915107 Change-Id: Ia59e1a906415ad8fd1ed324ab4dabef61746b62f Reviewed-on: http://git-master/r/75706 Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/76467 Reviewed-by: Automatic_Commit_Validation_User
2012-01-11ASoC: Fix WM8996 24.576MHz clock operationMark Brown
commit 37d5993c5cc9bc83762ae1b5bd287438022e8afe upstream. Record the clock after the divider as that is what all SYSCLK users see. Without this the other clock configuration in the device comes out at half rate. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Change-Id: Ifd4d1165bc59b4cb35a3d30e43ebba442c67a68c Reviewed-on: http://git-master/r/74167 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com>
2012-01-10asoc: codecs: Remove suspend/resume for ALC5640Manoj Gangwal
Implementation of suspend/resume functionality is not proper for ALC5640 codec , so remove it temporarily. Bug 910788 Change-Id: I243c327602a45a3084befd17a1e722e4d844e502 Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/73478 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> (cherry picked from commit 3e24bcc4df716bd1e1f3772300aaa9988319f91a) Reviewed-on: http://git-master/r/73962 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com>
2011-12-30asoc: codecs: Add ALC5640 audio codec.Manoj Gangwal
Changes made to add support of ALC5640 codec for cardhu and support wm8903 codec also without need for code recompilation. Bug 910788 Change-Id: Iace74293a44c38eaae516552f03d8bfa6bfe936f Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/71455 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-12-23ASoC: max98095: Convert codec->hw_write to snd_soc_writeAxel Lin
codec->hw_write is broken now, convert codec->hw_write to snd_soc_write. The hardware has 2 banks of registers sharing a section in I2C register space. The 1st bank is the primary one and is cached. The 2nd bank is for loading coefficients only and they do not need cache. These coefficients registers are therefore direct writes. Thus we set cache_bypass flag to deal with this before calling snd_soc_write. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> (cherry picked from commit 0d8d293898ff0ea395840cdf2ac85fbd53c8d3ea) Change-Id: I162206b7c542d85c0349cb5c2af8048e8cee6700 Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-on: http://git-master/r/69969 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-12-23ASoC: max98095 codec: Catch driver bugs for biquad channel nameRyan Mallon
Move the biquad channel names to a separate array and iterate over it in max98095_get_bq_channel rather than duplicating the hardcoded channel names. Add an error message if an invalid channel is passed and check the error in the callers. Also added a BUILD_BUG_ON to ensure that the bq_mode_name and controls arrays are the same size. Signed-off-by: Ryan Mallon <rmallon@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> (cherry picked from commit c855a1a7ff49a43e1e35571d504e89b4c670693d) Change-Id: Id8e6b672007292416ad60a5d988b987f841927b9 Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-on: http://git-master/r/69968 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-12-23ASoC: Max98095: Move existing NULL check before pointer dereference.Taylor Hutt
Visual inspection shows that max98095_put_eq_enum() and max98095_put_bq_enum() each have a possible NULL deref of 'pdata'. This change moves the NULL check above the use. Signed-off-by: Taylor Hutt <thutt@chromium.org> Acked-by: Peter Hsiang <Peter.Hsiang@maxim-ic.com> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> (cherry picked from commit 539494253547d078089cc15490e83f6e5f2e7213) Change-Id: I587b8d2ea14cdf8ce33a4319b6c2ba3a4df067aa Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-on: http://git-master/r/69963 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-12-21ASoC: Add EQ and filter to max98095 CODEC driverPeter Hsiang
This patch adds the equalizer and biquad filter controls. Signed-off-by: Peter Hsiang <peter.hsiang@maxim-ic.com> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> (cherry picked from commit dad31ec133adb20c8fd10bfd9379da3f08b8721e) Change-Id: I5f0f1005cecc1ca28bac360a55a86de7b9cddfe1 Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-on: http://git-master/r/69961 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2011-12-21ASoC: Remove redundant freq assignment for max98095->sysclk/max98088->sysclkAxel Lin
Current implementation set max98095->sysclk/max98088->sysclk to freq twice. Set it once is enough, this patch removes the first assignment in case we may set invalid clock frequency to max98095->sysclk/max98088->sysclk. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Peter Hsiang <peter.hsiang@maxim-ic.com> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> (cherry picked from commit 74ab24af4fe165de5af01d0507250dd099f096b0) Change-Id: Ia287942e113a5e13598f537a5d976c49ace8af63 Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-on: http://git-master/r/69964 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2011-12-21ASoC: Add max98095 CODEC driverPeter Hsiang
This patch adds the MAX98095 CODEC driver. Signed-off-by: Peter Hsiang <peter.hsiang@maxim-ic.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> (cherry picked from commit 82a5a936f6dea13849d93a2899a9b7294a8db336) Change-Id: I0a9805a90f46e30c756e5a266e96904597242185 Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-on: http://git-master/r/69960 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-12-15ASoC: MAX98088: Fix compiler warningSumit Bhattacharya
Change-Id: Ifd53d0cb0cd6022c3f526df3ba79cd4369796749 Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-on: http://git-master/r/69783 Reviewed-by: Lokesh Pathak <lpathak@nvidia.com> Tested-by: Lokesh Pathak <lpathak@nvidia.com>
2011-12-15asoc: max98088: shutdown codec in bias off stateChandrakanth Gorantla
set global shutdown bit to zero so that codec will shutdown in bias off case bug 899662 Change-Id: I86cf5d9567463166fc3ee0585083faba35dac301 Signed-off-by: Chandrakanth Gorantla <cgorantla@nvidia.com> Reviewed-on: http://git-master/r/63858 Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-12-15ASoC: WM8903: Disable irq before suspendSumit Bhattacharya
When codec enters suspend mic bias gets turned off. As a result if a mic is already plugged in a mic removal event gets triggered. Once codec driver gets mic removal interrupt it sleeps for the duration of debounce time which causes kernel power manager to abort suspend. To avoid this scenario disable mic detect IRQ before powering off codec and enable the same during resume. Change-Id: Ic3c90d73c9f2742b6771f7e3fe0e3fb1f59e1cd9 Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-on: http://git-master/r/68662 Reviewed-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-12-14Merge branch 'linux-3.1.5' into android-tegra-nv-3.1Varun Wadekar
Conflicts: arch/arm/Kconfig Change-Id: If8aaaf3efcbbf6c9017b38efb6d76ef933f147fa Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
2011-12-09ASoC: Fix wrong define for AD1836_ADC_WORD_OFFSETAxel Lin
commit 72531c9434fa884d20cb3c36fcec83752f32fdf4 upstream. According to the datasheet: The BIT[5:4] of ADC Control Register 2 is to control the word width. 00 = 25 Bits 01 = 20 Bits 10 = 16 Bits 11 = Invalid Thus, the AD1836_ADC_WORD_OFFSET should be defined as 4. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-09ASoC: Ensure WM8731 register cache is synced when resuming from disabledMark Brown
commit ed3e80c4c991a52f9fce3421536a78e331ae0949 upstream. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-09ASoC: wm8753: Skip noop reconfiguration of DAI modeTimo Juhani Lindfors
commit 2391a0e06789a3f1718dee30b282562f7ed28c87 upstream. This patch makes it possible to set DAI mode to its currently applied value even if codec is active. This is necessary to allow aplay -t raw -r 44100 -f S16_LE -c 2 < /dev/urandom & alsactl store -f backup.state alsactl restore -f backup.state to work without returning errors. This patch is based on a patch sent by Klaus Kurzmann <mok@fluxnetz.de>. Signed-off-by: Timo Juhani Lindfors <timo.lindfors@iki.fi> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-09ASoC: sta32x: preserve coefficient RAMJohannes Stezenbach
commit 54dc6cabe684375b3cf549c7b0545613d694aba8 upstream. The coefficient RAM must be saved in a shadow so it can be restored when the codec is powered on using regulator_bulk_enable(). Signed-off-by: Johannes Stezenbach <js@sig21.net> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-08kernel: sound: soc: Fix file permission issueVinod G
Change the executable permission on the files. Change-Id: I8109f4e255847ec5453c98c47974a89e4cf56af9 Reviewed-on: http://git-master/r/68336 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-12-08kernel: sound: soc: Fix TI codec reg access issue.Vinod G
Using snd_soc_write is causing some issue with TI codec. So register read and write are handled locally inside the codec calls. Added checking to continue card register based on codec availability, this help to use either TI codec or wm8753 codec being present in the board. bug 816608 Change-Id: Ie5edd1c70609991c28216bbc3a0ffcafd0f815ab Reviewed-on: http://git-master/r/68044 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-12-08kernel: sound: Adding TI codec supportVinod G
Adding the code for supporting TI AIC3262 codec. bug 816608 Change-Id: I19c3e03e8fd442c0c19a72a7efeddcd0ca05a7e1 Reviewed-on: http://git-master/r/67279 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-11-30kernel: sound: soc: Adding mini dsp headers for TIVinod G
Integrating the mini dsp headers to support the TI codec. Change-Id: I2191627f96db9134a2cbd6258b9b958bccc0e6e7 Reviewed-on: http://git-master/r/67045 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R1afd379263506d2f17e5cdd0ca0398a8ba0a93b8
2011-11-30ASoC: spdif: Add spdif dummy capture DAISumit Bhattacharya
Add a dummy capture DAI to dit_stub_dai so that it can also be used for audio capture path. Bug 872652 Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Change-Id: Ic7092931b02e323fa7ae07239d6a6e19880b6bc4 Reviewed-on: http://git-master/r/61481 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R2446d2806f96d0def7938a78a4117cdb69c22183
2011-11-30asoc: max98088: set the dapm idle bias off flagNikesh Oswal
with the idle bias off flag set, dapm will turn the codec bias off in standby Bug: 862023 Change-Id: I21758bb08efbfba0e06dba5a129a57be38331cb9 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/61087 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rc27d29eceff9ccfa2cf896b5aa08728b48cfe6f6
2011-11-30asoc: max98088: report jack after enabling jack detectionNikesh Oswal
Bug: 890385 Bug: 862023 Change-Id: Icec0be967ead5733aa600707c3ba4af99375e4ae Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/59102 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rc16aeac4ea1ba15e214fda504ef17aaef2c83ed5
2011-11-30asoc: max98088: fix cache restore operationNikesh Oswal
Bug: 862023 Change-Id: I17352ed290b3f1e319dc8efd112bb6dfddc51f52 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/58416 Reviewed-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Rebase-Id: Re6ec1485173c3504a13d760a25d34ccd571489e5
2011-11-30asoc: max98088: add control to enable/disable digital micNikesh Oswal
Bug: 862023 Change-Id: I1784a813ad8ef224f0587ba977518c2940b66e01 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/55674 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R960030914089aa1eefcbb0d8ac2eda28c8095785
2011-11-30asoc: max98088: disable the irq when entering suspendNikesh Oswal
Bug: 862023 Change-Id: Ibaa3ffbb9e81736e45c2bccb0d6e1828cde4025b Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/55474 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rf4af409992ad20aa854736727df5060ce82435ed
2011-11-30asoc: max98088: add headset/headphone detection codeNikesh Oswal
Bug: 862023 Change-Id: Ieb9247cef5feecf3e241d8980f9c4376cadf2965 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/55465 Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Rebase-Id: Rf725fad369dbbe4d5f6eaa7b667170a127fa0a08
2011-11-30asoc: wm8753: add headphone detection codeNikesh Oswal
Bug: 862023 Change-Id: I26789c9e5bc7ebd51f086a3be650186d8e541519 Signed-off-by: Nikesh Oswal <noswal@nvidia.com> Reviewed-on: http://git-master/r/57035 Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com> Rebase-Id: Rfe45465b2369c8cbb864233e33ff70367a5a1e2d
2011-11-21ASoC: Don't use wm8994->control_data in wm8994_readable_register()Mark Brown
commit 8eeea521d9d0fa6afd62df8c6e6566ee946117fa upstream. The field is no longer initialised so this will crash if running on wm8958. Reported-by: Thomas Abraham <thomas.abraham@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>