diff options
author | Kevin Hilman <khilman@deeprootsystems.com> | 2012-07-11 20:51:40 +0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-07-31 15:06:26 +0400 |
commit | 04e8c7bc2c1eda2d06ff6eb57a7df97e64d895e6 (patch) | |
tree | fb2aff6eff80f234c05b3d435cff09aed7eccd0e /arch/arm/configs/omap2plus_defconfig | |
parent | 4e1755bbb4857ea4c5a5e12927cbc04e843cb4d4 (diff) | |
download | linux-04e8c7bc2c1eda2d06ff6eb57a7df97e64d895e6.tar.xz |
ARM: 7464/1: mmc: omap_hsmmc: ensure probe returns error if DMA channel request fails
If dma_request_channel() fails (e.g. because DMA enine is not built
into the kernel), the return value from probe is zero causing the
driver to be bound to the device even though probe failed.
To fix, ensure that probe returns an error value when a DMA channel
request fail.
Signed-off-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/configs/omap2plus_defconfig')
0 files changed, 0 insertions, 0 deletions