]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sh_mobile_sdhi: only change the clock on RCar Gen2+
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 2 May 2016 20:25:41 +0000 (22:25 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 4 May 2016 07:28:04 +0000 (09:28 +0200)
commit4f15019bd7317afd25e9c7cc0c355ce8e8b2dd34
tree21964472281d819c0654d6886367cbfe5dadc88b
parent7d6dd8f3d9796226d61def9c2ea8f31d546ddaa3
mmc: sh_mobile_sdhi: only change the clock on RCar Gen2+

We had a regression on r8a7740 where the SDHI clock was a generic
peripheral clock, so changing its rate was not desired. This should be
fixed in the clock driver. However, it also shows that the new clock
calculation should only be used on tested systems. Add a check for that.

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