aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/max98090.c
Commit message (Collapse)AuthorAge
...
* ASoC: max98090: Use params_width() rather than memory formatMark Brown2014-01-13
| | | | Signed-off-by: Mark Brown <broonie@linaro.org>
* ASoC: max98090: Use power efficient workqueueMark Brown2013-07-19
| | | | | | | | | | None of the delayed work the driver schedules has particularly short delays and it is not performance sensitive so let the scheduler run it wherever is most efficient rather than in a per CPU workqueue by using the system power efficient workqueue. Signed-off-by: Mark Brown <broonie@linaro.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
* Merge remote-tracking branch 'asoc/topic/max98090' into asoc-nextMark Brown2013-06-17
|\
| * ASoC: max98090: Guard runtime PM callbacksMark Brown2013-06-06
| | | | | | | | | | | | | | Otherwise the functions will be defined but unreferenced when runtime PM is disabled, generating warnings. Signed-off-by: Mark Brown <broonie@linaro.org>
| * ASoC: max98090: add digital mic mux to record pathAndrew Bresticker2013-05-17
| | | | | | | | | | | | | | | | | | | | | | | | | | The max98090 driver currently treats the digital mic enable as a supply on the record path, causing the digital mic enable to always be turned on when attempting to record. This is incorrect, however, since the digital mic enable is also a mux control where 0 selects the ADC output as input to the record-path DSP and 1 selects the digital mic. This patch adds a virtual DMIC mux to the reocrd path so that we can switch between the ADC and the digital mic for recording. Signed-off-by: Andrew Bresticker <abrestic@chromium.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* | ASoC: max98090: request IRQF_ONESHOT interruptAndrew Bresticker2013-05-20
|/ | | | | | | | | | | | | | request_threaded_irq() rejects calls which both do not specify a handler (indicating that the primary IRQ handler should be used) and do not set IRQF_ONESHOT because the combination is unsafe with level-triggered interrupts. It is safe in this case, though, since max98090 IRQs are edge-triggered and the interrupts aren't ACK'ed until the codec's IRQ status register is read. Because of this, an IRQF_ONESHOT interrupt doesn't really make a difference, but request one anyway in order to make request_threaded_irq() happy. Signed-off-by: Andrew Bresticker <abrestic@chromium.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* Merge remote-tracking branch 'asoc/topic/max98090' into asoc-nextMark Brown2013-04-12
|\
| * ASoC: max98090: Remove unnecessary bracesSachin Kamat2013-03-03
| | | | | | | | | | | | | | | | | | Braces are not required for single line statements. Silences the following checkpatch warnings: WARNING: braces {} are not necessary for single statement blocks. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
| * ASoC: max98090: Fix checkpatch errors related to spacingSachin Kamat2013-03-03
| | | | | | | | | | | | | | | | Fixes the following type of checkpatch errors: ERROR: "foo * bar" should be "foo *bar" Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
| * ASoC: max98090: Make struct dev_pm_ops constSachin Kamat2013-03-03
| | | | | | | | | | | | | | | | Silences the following checkpatch warning: WARNING: struct dev_pm_ops should normally be const. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
| * ASoC: max98090: Convert to devm_regmap_init_i2c()Sachin Kamat2013-03-03
| | | | | | | | | | | | | | | | devm_regmap_init_i2c() is device managed and makes error handling and code cleanup simpler. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
| * ASoC: max98090: Remove unneeded version.h header includeSachin Kamat2013-03-03
| | | | | | | | | | | | | | version.h header file inclusion is not required as detected by versioncheck. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* | ASoC:: max98090: Remove executable bitJoe Perches2013-03-20
|/ | | | | | | Source files shouldn't have the executable bit set. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Replace max98090 Device DriverJerry Wong2013-02-07
| | | | | | | | | | This patch completes the replacement of the existing max98090 driver, by installing a more complete driver. Signed-off-by: Jerry Wong <jerry.wong@maximintegrated.com> Tested-by: Matthew Mowdy <matthew.mowdy@maximintegrated.com> Reviewed-by: Ralph Birt <ralph.birt@maximintegrated.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Replace max98090 Device DriverJerry Wong2013-02-07
| | | | | | | This patch removes the existing max98090 driver prior to installing a more complete one. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Add max98090 codec driverKuninori Morimoto2012-11-20
This patch adds the max98090 codec prototype driver. It supports Headphone only at this point. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>