]> git.karo-electronics.de Git - karo-tx-linux.git/commit
spi: s3c64xx: do not disable the clock while configuring the spi
authorAndi Shyti <andi.shyti@samsung.com>
Thu, 7 Jul 2016 07:23:57 +0000 (16:23 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 7 Jul 2016 09:24:32 +0000 (11:24 +0200)
commitd9aaf1dc984a448ae5630e53a611a8b3489d1f8d
tree76f0fdaa51771ac415886dfda2cefb4dd6c5ceb4
parent47c169ee67a6adea902d597b9e7bad428c7aac12
spi: s3c64xx: do not disable the clock while configuring the spi

When the clock is coming from the cmu it is not required to be
disabled and then re-enabled in order to change the rate.

Besides, some exynos chipsets (e.g. exynos5433) do not deliver
any to the SFR if one from the pclk ("spi" in this case) or sclk
("busclk") is disabled.

Remove the clock disabling/enabling to avoid falling into this
situation.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-s3c64xx.c