]> 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)
commitc4b0ba9f8a3212073ecbc9673988cb52ec389375
tree2e9eb35bb4708d028dbca5b8720736ee5ee17afe
parentf7512d89b809a3304fc2109a2ec141bd9cbf446d
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: f7512d89b809 ("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