mmc: dw_mmc: use the cookie's enum values for post/pre_req()
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 17 Nov 2016 07:40:38 +0000 (16:40 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 29 Nov 2016 08:05:09 +0000 (09:05 +0100)
commita4cc7eb4416fda59f18e744925ba3a347f7ecac5
tree5f35b8d91c46c3e4ede09de5839a7c6c37b0d4f0
parente13c3c081845b51e8ba71a90e91c52679cfdbf89
mmc: dw_mmc: use the cookie's enum values for post/pre_req()

This patch removed the meaningless value. Instead, use the cookie's enum
values for executing correctly.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.c
include/linux/mmc/dw_mmc.h