]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: dmaengine: fix deferred probe detection
authorStephen Warren <swarren@nvidia.com>
Wed, 11 Dec 2013 18:20:50 +0000 (11:20 -0700)
committerMark Brown <broonie@linaro.org>
Wed, 11 Dec 2013 22:45:36 +0000 (22:45 +0000)
commitb8eec106d6f48a4ad5952e877a246333aba584d6
tree2e9eb35bb4708d028dbca5b8720736ee5ee17afe
parent11ea7f575baead76bdc170efd7efee8167245ca8
ASoC: dmaengine: fix deferred probe detection

Check the return value of dma_request_slave_channel_reason() to see if
deferred probe happens, not the variable the return value will be
assigned to later.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Fixes: 11ea7f575bae ("ASoC: dmaengine: support deferred probe for DMA channels")
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-generic-dmaengine-pcm.c