]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: sh_mobile_sdhi: add support for 2 clocks
authorChris Brandt <chris.brandt@renesas.com>
Wed, 25 Jan 2017 20:28:08 +0000 (15:28 -0500)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 13 Feb 2017 12:20:41 +0000 (13:20 +0100)
commit34a1654706c6cc20e7a9077063b307afe28ec66c
tree8bf9e7a2407575ec379e86340f823f91a9f57025
parentdc012058d79aa781d74988c83e29a7398ad1e47b
mmc: sh_mobile_sdhi: add support for 2 clocks

Some controllers have 2 clock sources instead of 1. The 2nd clock
is for the internal card detect logic and must be enabled/disabled
along with the main core clock for proper operation.

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