modified msm_otg.c to test charging