From: Tero Kristo Date: Thu, 26 Feb 2015 16:06:00 +0000 (+0200) Subject: ARM: OMAP2+: hwmod: fix deassert hardreset clkdm usecounting X-Git-Tag: fixes-v4.0-rc2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80d2518dfd19e9750d0c1203851774bb9732268b;p=pandora-kernel.git ARM: OMAP2+: hwmod: fix deassert hardreset clkdm usecounting Deasserting hardreset increases the usecount for the hwmod parent clockdomain always, however usecount is only decreased at end in certain error cases. This causes software supervised clockdomains to remain always on, preventing idle. Fixed by always releasing the hwmods clockdomain parent when exiting the function. Signed-off-by: Tero Kristo Tested-by: Carlos Hernandez Cc: Paul Walmsley Cc: Tony Lindgren Signed-off-by: Paul Walmsley --- Reading git-diff-tree failed