From: Sekhar Nori Date: Tue, 12 Jan 2010 13:25:35 +0000 (+0530) Subject: davinci: clock: let clk->set_rate function sleep X-Git-Tag: v2.6.34-rc1~234^2~7 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b43cd6f2dcbf871b8cabe16ae4ac8c036c959ac;p=pandora-kernel.git davinci: clock: let clk->set_rate function sleep When supporting I2C/SPI based on-board PLLs like CDCE949, it is essential that clk->set_rate be able to sleep. Currently, this is not possible because clk->set_rate is called from within spin-lock in clk_set_rate This patch brings clk->set_rate outside of the spin-lock and lets the individual set_rate implementations achieve serialization through appropiate means. Signed-off-by: Sekhar Nori Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed