mmc: sdhi: DMA slave ID 0 is invalid
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 24 May 2011 10:24:07 +0000 (12:24 +0200)
committerChris Ball <cjb@laptop.org>
Sat, 25 Jun 2011 22:52:20 +0000 (18:52 -0400)
commit3e713373ce07b9f59c3901e7d39bc1edccda28da
treef067a8e07336c35ad375951e03b57808478f22dc
parent7d8b4c2a4b73da8e3632603691838ca5b2a8c26d
mmc: sdhi: DMA slave ID 0 is invalid

Don't try to allocate DMA resources if the platform didn't specify
positive DMA slave IDs.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sh_mobile_sdhi.c