>Hi, Alan
>
>For hardware design of the platform which in my hand, there is no
>charging by USB.
>Should I empty the code of langwell_otg_chrg_vbus() when there is
>charging by AC only?

Hi Lee,

Actually, Langwell_otg driver will not handle the charging related work. 
Battery driver owns the charging functionalities.
Ideally the function langwell_otg_chrg_vbus() will not impact anything if no 
battery attached.
I don't know if any specific design with your hardware platform, but I think 
you can keep them and have a try.

Both AC/Battery mode works well with the same USB code as my experience.

Hao
_______________________________________________
MeeGo-kernel mailing list
[email protected]
http://lists.meego.com/listinfo/meego-kernel

Reply via email to