From: Kevin Hilman Date: Wed, 11 Jul 2012 16:51:40 +0000 (+0100) Subject: ARM: 7464/1: mmc: omap_hsmmc: ensure probe returns error if DMA channel request fails X-Git-Tag: v3.6-rc1~13^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04e8c7bc2c1eda2d06ff6eb57a7df97e64d895e6;p=pandora-kernel.git 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 Signed-off-by: Russell King --- Reading git-diff-tree failed