summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/pcm1681.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ASoC: pcm1681: Convert to params_width()Mark Brown2014-02-031-5/+10
| | | | | | | This will help support future enhancements in the way we negotiate parameters in the core. Signed-off-by: Mark Brown <broonie@linaro.org>
* Merge remote-tracking branch 'asoc/topic/pcm1681' into asoc-nextMark Brown2013-10-241-0/+1
|\
| * ASoC: pcm1681: Include linux/of.h headerSachin Kamat2013-10-161-0/+1
| | | | | | | | | | | | | | 'of_match_ptr' is defined in linux/of.h. Include it explicitly. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
* | ASoC: pcm1681: Fix max_register settingAxel Lin2013-10-141-1/+1
|/ | | | | | | | According to the datasheet, the max_register is 13h. ARRAY_SIZE(pcm1681_reg_defaults) + 1 is 18 which is wrong. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
* ASoC: pcm1681: Add DAPM supportMark Brown2013-08-151-0/+26
| | | | | | | Provide DAPM for the device, ensuring operation with DAPM required by the core and making it easier to hook up external hardware to it. Signed-off-by: Mark Brown <broonie@linaro.org>
* ASoC: pcm1681: Staticise DAI driverMark Brown2013-08-081-1/+1
| | | | | | | It is not exported so doesn't need to be in the global namespace and sparse warns on this. Signed-off-by: Mark Brown <broonie@linaro.org>
* ASoC: Add PCM1681 codec driver.Marek Belisko2013-08-011-0/+313
PCM1681 can be controlled via I2C, SPI or in bootstrap mode (no control mode). This code add support only for I2C mode. Signed-off-by: Marek Belisko <marek.belisko@streamunlimited.com> Signed-off-by: Mark Brown <broonie@linaro.org>