mmc: rk_sdmmc: fix NULL pointer in printout
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 23 Oct 2015 09:19:50 +0000 (17:19 +0800)
committerShawn Lin <shawn.lin@rock-chips.com>
Fri, 23 Oct 2015 09:19:50 +0000 (17:19 +0800)
commitcfde21f0da8e5d65281e985ece2171bbda669124
tree1312af579b886616d3ad077951634e0a50fcc839
parent26a23edb4ca81df1cd48ed902798c2f893fc9aae
mmc: rk_sdmmc: fix NULL pointer in printout

This patch fix NULL pointer to chan_id while requsting
external dma channel failed.

Change-Id: I0abe1acb0a892cbaec0cadb24fe215b46e2e9abb
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
drivers/mmc/host/rk_sdmmc.c