summaryrefslogtreecommitdiffstats
path: root/crypto/khazad.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2013-11-15 19:48:47 +0100
committerStephen Warren <swarren@nvidia.com>2013-12-12 00:43:50 +0100
commitd59afb6a961519d81557f6b13d04ec1498c074fe (patch)
tree2144f3e3a3ca3cfa6267c75275f2b5a8f905bf20 /crypto/khazad.c
parentASoC: tegra: call pm_runtime APIs around register accesses (diff)
downloadlinux-d59afb6a961519d81557f6b13d04ec1498c074fe.tar.xz
linux-d59afb6a961519d81557f6b13d04ec1498c074fe.zip
ASoC: tegra: allocate AHUB FIFO during probe() not startup()
The Tegra30 I2S driver currently allocates DMA FIFOs from the AHUB only when an audio stream starts playback. This is theoretically nice for resource sharing, but makes no practical difference for any configuration the drivers currently support. However, this deferral prevents conversion to the standard DMA DT bindings, since conversion requires knowledge of the specific DMA channel to be allocated, which in turn depends on which specific FIFO was allocated. For this reason, move the FIFO allocation into probe() to allow later conversion to the standard DMA DT bindings. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'crypto/khazad.c')
0 files changed, 0 insertions, 0 deletions