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)
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: 5eda87b890f8 ("ASoC: dmaengine: support deferred probe for DMA channels")
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>

No differences found