USB: msm72k_udc: Disable non-std charger feature by default & add debugfs
Add non-standard(proprietary) charger feature only for qrd7627a and
disable it by default and add a debugfs entry to enable it during
runtime if required using the following command:
echo 1 > /sys/kernel/debug/msm_hsusb/proprietary_chg
CRs-Fixed: 390597
CRs-Fixed: 386232
Change-Id: I19da908d11ff7c98327597b3375bf4d0a6122abc
Signed-off-by: Rajkumar Raghupathy <raghup@codeaurora.org>
diff --git a/arch/arm/mach-msm/include/mach/msm_hsusb.h b/arch/arm/mach-msm/include/mach/msm_hsusb.h
index 4e22b0f..c6eb527 100644
--- a/arch/arm/mach-msm/include/mach/msm_hsusb.h
+++ b/arch/arm/mach-msm/include/mach/msm_hsusb.h
@@ -138,6 +138,7 @@
int self_powered;
int is_phy_status_timer_on;
+ bool prop_chg;
};
struct msm_otg_platform_data {