From 8ea2da6e862ac3cd234cf2645645267a1d7fcde9 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 19 Nov 2008 17:09:48 +0000 Subject: 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 --- include/linux/pcf50633.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/linux') 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 */ -- cgit v1.2.3