diff options
author | Jon Loeliger <jdl@freescale.com> | 2005-08-01 13:20:47 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2005-08-01 13:20:47 -0500 |
commit | de1d0a69956a63cea6a62043ae5d5afb584efe93 (patch) | |
tree | 1914348ff43c309890deb6ecad206e37b2bc3a51 /cpu/arm920t/s3c24x0/usb_ohci.c | |
parent | b0e32949239c7870d409ca687a2dfc1261a3d838 (diff) | |
download | u-boot-imx-de1d0a69956a63cea6a62043ae5d5afb584efe93.zip u-boot-imx-de1d0a69956a63cea6a62043ae5d5afb584efe93.tar.gz u-boot-imx-de1d0a69956a63cea6a62043ae5d5afb584efe93.tar.bz2 |
Fix style issues primarily in 85xx and 83xx boards.
- C++ comments
- Trailing white space
- Indentation not by TAB
- Excessive amount of empty lines
- Trailing empty lines
Diffstat (limited to 'cpu/arm920t/s3c24x0/usb_ohci.c')
-rw-r--r-- | cpu/arm920t/s3c24x0/usb_ohci.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cpu/arm920t/s3c24x0/usb_ohci.c b/cpu/arm920t/s3c24x0/usb_ohci.c index fa6abeb..eb80b1c 100644 --- a/cpu/arm920t/s3c24x0/usb_ohci.c +++ b/cpu/arm920t/s3c24x0/usb_ohci.c @@ -53,7 +53,6 @@ #define OHCI_USE_NPS /* force NoPowerSwitching mode */ #undef OHCI_VERBOSE_DEBUG /* not always helpful */ - /* For initializing controller (mask in an HCFS mode too) */ #define OHCI_CONTROL_INIT \ (OHCI_CTRL_CBSR & 0x3) | OHCI_CTRL_IE | OHCI_CTRL_PLE @@ -1221,7 +1220,6 @@ pkt_print(dev, pipe, buffer, transfer_len, cmd, "SUB(rh)", usb_pipein(pipe)); } - /*-------------------------------------------------------------------------*/ /* common code for handling submit messages - used for all but root hub */ @@ -1294,7 +1292,7 @@ int submit_common_msg(struct usb_device *dev, unsigned long pipe, void *buffer, wait_ms(1); if (!urb_finished) dbg("\%"); - + } else { err("CTL:TIMEOUT "); dbg("submit_common_msg: TO status %x\n", stat); @@ -1511,7 +1509,7 @@ hc_interrupt (void) ohci->disabled++; err ("%s device removed!", ohci->slot_name); return -1; - + } else if ((ints &= readl (®s->intrenable)) == 0) { dbg("hc_interrupt: returning..\n"); return 0xff; |