]> asedeno.scripts.mit.edu Git - linux.git/commit
greybus: lights: Add runtime pm support
authorKris Huang <huang_kris@projectara.com>
Fri, 5 Aug 2016 04:59:08 +0000 (12:59 +0800)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 5 Aug 2016 18:14:48 +0000 (20:14 +0200)
commit9141ad8773f4f6ebb8cd9fa376d9497fa7e73374
tree15fa558bdc02b4be42e1bbb4d99f5a52a7e9915f
parent8f3972f78f3ac52833fb781cbb689af39fc8b0f1
greybus: lights: Add runtime pm support

Modify Lights greybus driver to support runtime PM framework.
The suspend and resume function have been tested with gpbridge-test
image by sysfs. Lights functions work well on suspend/resume.

Testing Done: Compiled and verified on EVT2 and gpbridge-test module
              with device class daughter board.

Signed-off-by: Kris Huang <huang_kris@projectara.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/light.c