]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sh_mobile_sdhi: remove superfluous check in hw_reset
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 12 Dec 2016 19:51:23 +0000 (20:51 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Feb 2017 12:19:50 +0000 (13:19 +0100)
commitfbfeb79eeacd62b8ac373092fa7e717a90a59ada
tree184d7253bbe757d7cff2574df5ac3922ce8805c2
parent0da6d083beb750ada0e1353a26219096f204527e
mmc: sh_mobile_sdhi: remove superfluous check in hw_reset

The capability for HW_RESET is only activated if SDR104 is present, so
no need to check for SDR104 in the function itself again.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sh_mobile_sdhi.c