aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ad1938.c
Commit message (Collapse)AuthorAgeFilesLines
* ASoC: some minor changes for AD1836 and AD1938 codec driversBarry Song2009-09-211-1/+1
| | | | | | | | | 1. delete redundant assignment to bus field in spi_driver structure 2. fix lost assignment to set_bias_level entry in ad1938 codec dai 3. change spi driver name of ad1836 from "ad1836-spi" to "ad1836" Signed-off-by: Barry Song <barry.song@analog.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: remove unused #include <linux/version.h>Huang Weiyi2009-09-161-1/+0
| | | | | | | | | | Remove unused #include <linux/version.h>('s) in sound/soc/codecs/ad1836.c sound/soc/codecs/ad1938.c sound/soc/codecs/wm8974.c Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: delete -spi suffix in ad1938 and free private data while registers failBarry Song2009-08-141-1/+3
| | | | | Signed-off-by: Barry Song <21cnbao@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: add output/input widgets in ad1938 to make dac/adc dynamic PM workBarry Song2009-08-131-0/+12
| | | | | | | | | | | | According to the function dapm_dac_check_power() in sound/soc/soc-dapm.c, dac power can't be on/off stand-alone without any output widget as sink. And according to dapm_adc_check_power(), adc power can't be on/off stand-alone without any input widget as source. So we can't only define some stand-alone SND_SOC_DAPM_DAC/SND_SOC_DAPM_ADC to hope their power can be managed dynamically. Signed-off-by: Barry Song <21cnbao@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Update AD1938 for new TDM slot APIMark Brown2009-08-121-2/+2
| | | | | | It's only actually paying attention to the slot count anyway. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Fix checkpatch issues and typos of ad1938 codec and bf5xx-tdm daiBarry Song2009-07-291-17/+33
| | | | | | | | | 1. fix "line over 80 characters" checkpatch warnings 2. ‘DMA_nnBIT_MASK’ is deprecated, use DMA_BIT_MASK instead 3. fix typos Signed-off-by: Barry Song <21cnbao@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Fix checkpatch issues in AD1938Mark Brown2009-07-181-78/+78
| | | | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* ASoC: Kill direct accesses to driver_dataTakashi Iwai2009-07-171-2/+2
| | | | | | Replaced with dev_{get|set}_drvdata(). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ASoC: new ad1938 codec driver based on asocBarry Song2009-07-161-0/+652
Signed-off-by: Barry Song <21cnbao@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>