diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-03-25 16:58:16 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-03-26 14:11:12 +0000 |
commit | abe99370b3c583cd0fc4185e7a776b7bb48311c3 (patch) | |
tree | c9204207d3b6046c12a2ff8835a3ad78d539b028 /sound/soc/nuc900 | |
parent | 8bb9660418e05bb1845ac1a2428444d78e322cc7 (diff) |
ASoC: omap: Call omap_mcbsp_set_threshold() from mcbsp hw_params
The omap PCM driver provides a set_threshold callback which gets called by the
PCM driver when either playback or capture is started. The only DAI driver which
sets this callback is the mcbsp driver. This patch removes the callback from the
PCM driver and moves the invocation of the omap_mcbsp_set_threshold() function
to the mcbsp hw_params callback since this is the only place where the threshold
size can change. Doing so allows us to use the default dmaengine PCM trigger
callback in the omap PCM driver.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/nuc900')
0 files changed, 0 insertions, 0 deletions