commit | 61cadcf46cfdb9f7eec70527968c2b91e9823786 | [log] [tgz] |
---|---|---|
author | Shawn Lin <shawn.lin@rock-chips.com> | Wed Mar 09 16:11:32 2016 +0800 |
committer | Mark Brown <broonie@kernel.org> | Wed Mar 09 16:10:18 2016 +0700 |
tree | 0f150c8bbba7b6a890c0cb8530d5448a0926ae35 | |
parent | 557b7ea34b9a10a5e13f4d7fd58ac965d801e3bd [diff] |
spi: rockchip: check requesting dma channel with EPROBE_DEFER Let's defer probing the driver if the return value of dma_request_slave_channel is ERR_PTR(-EPROBE_DEFER) instead of disabling dma capability directly. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Mark Brown <broonie@kernel.org>