From: Cyril Chemparathy Date: Thu, 25 Mar 2010 21:43:47 +0000 (-0400) Subject: Davinci: support LPSC SwRstDisable state X-Git-Tag: v2.6.35-rc1~499^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52958be3ad6e2b72a5943718f339ed4e11685739;p=pandora-kernel.git Davinci: support LPSC SwRstDisable state The current clock control code always gates the clock (PSC state Disable = 2) on clk_disable(). Some on-chip peripherals (e.g. LCD controller on TNETV107X) need to be put into SwRstDisable = 0 on clock disable, to maintain hardware sanity. This patch extends the davinci_psc_config() arguments to pass in the desired module state instead of a boolean enable/disable. Further, clk_disable() now checks for the PSC_SWRSTDISABLE clk flag before selecting the target state. Signed-off-by: Cyril Chemparathy Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed