summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorSivaram Nair <sivaramn@nvidia.com>2012-09-13 17:06:14 +0300
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-09-18 05:54:27 -0700
commit071b55b3762b4770636f834b2f0d0ed7d4a0967d (patch)
tree2200e26c7433145a106422b8ecf58cb87cd311ca /Documentation
parent2f42a335a5104b045c89f29d6314f0b46b11be04 (diff)
pm: EDP: bug fixes
This patch includes several minor bug fixes: (1) fixing example documentation (2) fixing minor errors in sysfs (3) fixing governor initcalls to postcore (4) adding missing include Change-Id: I3c1115cc23e6e887c083801a59143c5a06e75d12 Signed-off-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-on: http://git-master/r/132525 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/edp/howto5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/edp/howto b/Documentation/edp/howto
index da8384894558..84335292d80d 100644
--- a/Documentation/edp/howto
+++ b/Documentation/edp/howto
@@ -147,10 +147,13 @@ examples show how the usual operations are performed.
Example 2:
+ static unsigned int modem_states[] = { ... }
+
/* modem client */
struct edp_client modem_edp_client = {
.name = "modem",
- .states = { 2500, 1500, 1000, 500, 0 },
+ .states = modem_states,
+ .num_states = ARRAY_SIZE(num_states),
.e0_index = MODEM_EDP_E0,
.priority = EDP_MAX_PRIO - 3,
.max_borrowers = 1,