spi/s3c64xx: Consider the clk_from_cmu flag
authorJassi Brar <jassi.brar@samsung.com>
Wed, 29 Sep 2010 08:31:33 +0000 (17:31 +0900)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 29 Sep 2010 08:31:33 +0000 (17:31 +0900)
commitb42a81ca0fa7b3b442a0731ffc4e7db44464b5f2
tree3f435d56cbb27cf47ca9fb8bc354a8d3f7f9373c
parente02ddd442a532c73e547ae3735c8012e3bd719a5
spi/s3c64xx: Consider the clk_from_cmu flag

Newer SoCs have the SPI clock scaling control in platform's
clock management unit. Inorder for such SoCs to work, we need
to check the flag clk_from_cmu before making any clock changes.

Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
arch/arm/plat-samsung/include/plat/s3c64xx-spi.h
drivers/spi/spi_s3c64xx.c