Permalink
Browse files

Merge branch 'pm-qos'

* pm-qos:
  PM / QoS: Add return code to pm_qos_get_value function.
  • Loading branch information...
2 parents cf89968 + c6a57bf commit 87a2337abdd752d711724d7654a6db1b5b4c0d4d @rjwysocki rjwysocki committed Sep 17, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 kernel/power/qos.c
View
1 kernel/power/qos.c
@@ -139,6 +139,7 @@ static inline int pm_qos_get_value(struct pm_qos_constraints *c)
default:
/* runtime check for not using enum */
BUG();
+ return PM_QOS_DEFAULT_VALUE;
}
}

0 comments on commit 87a2337

Please sign in to comment.