diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-12-11 22:20:50 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-12-12 02:45:36 +0400 |
commit | e9036c2a60f368b8ddc349fbbcde918ed32ab597 (patch) | |
tree | 2e9eb35bb4708d028dbca5b8720736ee5ee17afe /drivers/dma/dmaengine.c | |
parent | 5eda87b890f867b098e5566b5543642851e8b9c3 (diff) | |
download | linux-e9036c2a60f368b8ddc349fbbcde918ed32ab597.tar.xz |
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: 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>
Diffstat (limited to 'drivers/dma/dmaengine.c')
0 files changed, 0 insertions, 0 deletions