From: Rabin Vincent Date: Tue, 20 Sep 2011 08:50:03 +0000 (+0200) Subject: gpio/nomadik: disable clocks when unused X-Git-Tag: v3.2-rc1~124^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c0227d262a5835849c68eb8328db016caad6085;p=pandora-kernel.git gpio/nomadik: disable clocks when unused The GPIO clock is required for register access and interrupt detection. When interrupt detection is not required on any of the pin in a block, the block's clock can be disabled when the registers are not being accessed. Signed-off-by: Rabin Vincent Reviewed-by: Rickard Andersson Reviewed-by: Jonas Aberg [Adjust for new IRQ chip core code, use only local functions] Signed-off-by: Linus Walleij Signed-off-by: Grant Likely --- Reading git-diff-tree failed