]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: ti: davinci-mcasp: Simplify the configuration parameter handling
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 6 Nov 2020 07:25:50 +0000 (09:25 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 6 Nov 2020 17:46:03 +0000 (17:46 +0000)
commitbfb60848b9faf68faa7762d08e59c9a747d5c54c
treedffbff6865de5eb30db2e628a51746637818656a
parent31dba4ad8d21061b81a8f1bb3d90b68732165335
ASoC: ti: davinci-mcasp: Simplify the configuration parameter handling

Replace the davinci_mcasp_set_pdata_from_of() function which returned a
pdata pointer with davinci_mcasp_get_config() to return an actual error
code and handle all pdata validation and private mcasp struct setup in
there.

Drop the unused ram-size-playback and sram-size-capture query from DT at
the same time.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20201106072551.689-4-peter.ujfalusi@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/ti/davinci-mcasp.c