summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/max98925.c
AgeCommit message (Collapse)AuthorFilesLines
2016-08-08ASoC: codec duplicated callback function goes to component on max98925Kuninori Morimoto1-6/+8
codec driver and component driver has duplicated callback functions, and codec side functions are just copied to component side when register timing. This was quick-hack, but no longer needed. This patch moves these functions from codec driver to component driver. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
2015-08-30Merge remote-tracking branches 'asoc/topic/txx9', 'asoc/topic/uda134x', ↵Mark Brown1-1/+1
'asoc/topic/ux500' and 'asoc/topic/width' into asoc-next
2015-08-30Merge remote-tracking branches 'asoc/topic/max98090', 'asoc/topic/max98095', ↵Mark Brown1-3/+0
'asoc/topic/max98357a', 'asoc/topic/max9877' and 'asoc/topic/max98925' into asoc-next
2015-07-24ASoC: Use params_width() at appropriate placesAxel Lin1-1/+1
Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
2015-07-21ASoC: max98925: reading beyond the end of the arrayDan Carpenter1-2/+0
Debug prints are seldom useful and this one has an annoying thing where it reads one space beyond the end of the array on error. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mark Brown <broonie@kernel.org>
2015-07-15ASoC: drivers: Drop owner assignment from i2c_driverKrzysztof Kozlowski1-1/+0
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>
2015-07-14ASoC: max98925: Remove control_data initializationLars-Peter Clausen1-1/+0
The control_data field of the snd_soc_codec struct is no longer used by ASoC drivers using standard regmap IO. There is no need to initialize the field to point to the drivers regmap struct, so drop that. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>
2015-05-26ASoC: max98925: Fix mask for setting DAI invert modeAxel Lin1-1/+1
The M98925_DAI_WCI_MASK bit is not updated with current code. To properly set the DAI invert mode, the mask should be M98925_DAI_BCI_MASK | M98925_DAI_WCI_MASK. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
2015-03-27ASoC: max98925: Fix bit-width 24 settings in max98925_dai_hw_paramsAxel Lin1-2/+2
Trivial typo fix. Signed-off-by: Axel Lin <axel.lin@ingics.com> Anish Kumar <Anish.Kumar@maximintegrated.com> Signed-off-by: Mark Brown <broonie@kernel.org>
2015-03-20ASoC: max98925: Constify regmap config and other codec dataKrzysztof Kozlowski1-4/+4
Constify local structures (snd_soc_dai_ops, snd_soc_codec_driver, regmap_config) and array (reg_defaults) which are not modified by the driver and passed to core as pointer to const. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>
2015-03-12ASoC: max98925: trivial duplicate typo fix in set_fmtAnish Kumar1-1/+1
Signed-off-by: Anish Kumar <yesanishhere@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
2015-03-11ASoC: max98925_spk_tlv can be statickbuild test robot1-1/+1
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
2015-03-11ASoC: Add max98925 codec driverAnish Kumar1-0/+655
Signed-off-by: Anish Kumar <yesanishhere@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>