mmc: dw_mmc: exynos: fix the NULL pointer dereference error
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 20 Jun 2016 04:16:09 +0000 (13:16 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:34:29 +0000 (10:34 +0200)
commite5a613537c4816830541046af12e8d37b075949c
tree5d2de2c878e9dad5dbd59c0022359f2bbbed082d
parent65257a0deed5aee66b4e3708944f0be62a64cabc
mmc: dw_mmc: exynos: fix the NULL pointer dereference error

"host->cur_slot" should be assigned to start the request.
So it can be the NULL pointer. This patch fixed this error.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc-exynos.c