]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commite9036c2a60f368b8ddc349fbbcde918ed32ab597
tree2e9eb35bb4708d028dbca5b8720736ee5ee17afe
parent5eda87b890f867b098e5566b5543642851e8b9c3
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>
sound/soc/soc-generic-dmaengine-pcm.c