* [PATCH] minor fixes for 834x_mds USB setup code
@ 2007-03-06 9:11 Li Yang
2007-03-08 5:16 ` Kumar Gala
0 siblings, 1 reply; 2+ messages in thread
From: Li Yang @ 2007-03-06 9:11 UTC (permalink / raw)
To: Kumar; +Cc: linuxppc-dev
Fix broken node manipulating code, and clarify inaccurate comment.
Signed-off-by: Li Yang <leoli@freescale.com>
---
diff --git a/arch/powerpc/platforms/83xx/mpc834x_mds.c b/arch/powerpc/platforms/83xx/mpc834x_mds.c
index e5d8191..8aa9a93 100644
--- a/arch/powerpc/platforms/83xx/mpc834x_mds.c
+++ b/arch/powerpc/platforms/83xx/mpc834x_mds.c
@@ -55,9 +55,9 @@ static int mpc834x_usb_cfg(void)
struct device_node *np = NULL;
int port0_is_dr = 0;
- if ((np = of_find_compatible_node(np, "usb", "fsl-usb2-dr")) != NULL)
+ if ((np = of_find_compatible_node(NULL, "usb", "fsl-usb2-dr")) != NULL)
port0_is_dr = 1;
- if ((np = of_find_compatible_node(np, "usb", "fsl-usb2-mph")) != NULL){
+ if ((np = of_find_compatible_node(NULL, "usb", "fsl-usb2-mph")) != NULL){
if (port0_is_dr) {
printk(KERN_WARNING
"There is only one USB port on PB board! \n");
@@ -103,8 +103,8 @@ static int mpc834x_usb_cfg(void)
return -1;
/*
- * if MDS board is plug into PIB board,
- * force to use the PHY on MDS board
+ * if Processor Board is plugged into PIB board,
+ * force to use the PHY on Processor Board
*/
bcsr5 = in_8(bcsr_regs + 5);
if (!(bcsr5 & BCSR5_INT_USB))
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] minor fixes for 834x_mds USB setup code
2007-03-06 9:11 [PATCH] minor fixes for 834x_mds USB setup code Li Yang
@ 2007-03-08 5:16 ` Kumar Gala
0 siblings, 0 replies; 2+ messages in thread
From: Kumar Gala @ 2007-03-08 5:16 UTC (permalink / raw)
To: Li Yang; +Cc: linuxppc-dev
On Tue, 6 Mar 2007, Li Yang wrote:
> Fix broken node manipulating code, and clarify inaccurate comment.
>
> Signed-off-by: Li Yang <leoli@freescale.com>
applied.
- k
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-08 5:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-06 9:11 [PATCH] minor fixes for 834x_mds USB setup code Li Yang
2007-03-08 5:16 ` Kumar Gala
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).