aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2008-11-19 17:09:48 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:09:48 +0000
commit8ea2da6e862ac3cd234cf2645645267a1d7fcde9 (patch)
tree331ee6214f839496c7306a28bdabcc832390d57f /include
parent3608fada489ebc4abedcc5754d9644a52b372492 (diff)
fix-pcf50633-usb-curlim-workqueue-migration.patch
pcf50633 needs to take responsibility for managing current limit changes asycnhrnously, ie, from USB stack enumeration. It's a feature of pcf50633 not mach-gta02.c, and we can do better with taking care about keeping it from firing at a bad time in there too. Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pcf50633.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/pcf50633.h b/include/linux/pcf50633.h
index 0522d922fcc..fa1c7e86feb 100644
--- a/include/linux/pcf50633.h
+++ b/include/linux/pcf50633.h
@@ -129,6 +129,11 @@ extern void
pcf50633_register_resume_dependency(struct pcf50633_data *pcf,
struct resume_dependency *dep);
+extern int
+pcf50633_notify_usb_current_limit_change(struct pcf50633_data *pcf,
+ unsigned int ma);
+
+
/* 0 = initialized and resumed and ready to roll, !=0 = either not
* initialized or not resumed yet
*/