From: Kishon Vijay Abraham I Date: Thu, 10 Mar 2011 10:50:08 +0000 (-0700) Subject: OMAP2+: hwmod: add API to handle autoidle mode X-Git-Tag: v2.6.39-rc1~432^2~10^2~2^4~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9599217a06da5f5a95794ca9192c14317d441187;p=pandora-kernel.git OMAP2+: hwmod: add API to handle autoidle mode Create a new API that forms a wrapper to _set_module_autoidle() to modify the AUTOIDLE bit. This API is intended to be used by drivers that requires direct manipulation of the AUTOIDLE bits in SYSCONFIG register. McBSP driver requires autoidle bit to be enabled/disabled while using sidetone feature. Signed-off-by: Kishon Vijay Abraham I Cc: Paul Walmsley Cc: Benoit Cousson [paul@pwsan.com: restrict the hwmod states that the autoidle bit can be changed in; changed function name; dropped "int" from "unsigned int long"] Signed-off-by: Paul Walmsley --- Reading git-diff-tree failed