[PATCH] introducing internal_phy_reset()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, the following function should work for hsusb.
I only need to know now, where it should be added to platform data exactly.
Best regards
	leviathan
---
 arch/arm/mach-msm/board-trout.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-msm/board-trout.c b/arch/arm/mach-msm/board-trout.c
index bc0afa4..59d7640 100644
--- a/arch/arm/mach-msm/board-trout.c
+++ b/arch/arm/mach-msm/board-trout.c
@@ -29,6 +29,7 @@
 
 #include "devices.h"
 #include "board-trout.h"
+#include "proc_comm.h"
 
 extern int trout_init_mmc(unsigned int);
 
@@ -63,6 +64,11 @@ static void __init trout_init_irq(void)
 	msm_init_irq();
 }
 
+static void internal_phy_reset(void)
+{
+	msm_proc_comm(PCOM_MSM_HSUSB_PHY_RESET,NULL,NULL);
+}
+
 static void __init trout_fixup(struct machine_desc *desc, struct tag *tags,
 				char **cmdline, struct meminfo *mi)
 {
-- 
1.6.4.4

--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux