commit | 8c005b409080b5c98b74b96642d2aacf7f099cf0 | [log] [tgz] |
---|---|---|
author | Jaehoon Chung <jh80.chung@samsung.com> | Thu Nov 17 16:40:36 2016 +0900 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Tue Nov 29 09:05:08 2016 +0100 |
tree | a07ea86d6e71450f23ba4ac8a6f4a8ff9ba2ea3e | |
parent | 72e83577bc5bc02a92c7fd47d108de11c04dcbf0 [diff] |
mmc: dw_mmc: use the hold register when send stop command If DW_MMC_CARD_NO_USE_HOLD isn't set, it's usesd by default. Enve if SDMMC_CMD_USB_HOLD_REG is set in prepare_command(), but it doesn't set in pre_stop_abort(). To maintain the consistency, add the checking condition for this. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Tested-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>