]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
musb_hdrc: Search and replace bTx with tx
authorTony Lindgren <tony@atomide.com>
Mon, 13 Aug 2007 12:18:32 +0000 (05:18 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 13 Aug 2007 12:18:32 +0000 (05:18 -0700)
Search and replace bTx with tx

Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/usb/musb/g_ep0.c
drivers/usb/musb/musb_gadget.c
drivers/usb/musb/musb_gadget.h

index c20728d5a40549ac9760cd19af4dac6eb7bf9b0b..e1cbf18dac2e194b9d3881c14cd20e3838b13a6c 100644 (file)
@@ -835,7 +835,7 @@ musb_g_ep0_queue(struct usb_ep *e, struct usb_request *r, gfp_t gfp_flags)
        req->musb = musb;
        req->request.actual = 0;
        req->request.status = -EINPROGRESS;
-       req->bTx = ep->is_in;
+       req->tx = ep->is_in;
 
        spin_lock_irqsave(&musb->lock, lockflags);
 
index a3c55fd4095e8de38407c403ea004e22ca511e25..8247f5f20dca2d68ce6cd653826c74c068b56cf4 100644 (file)
@@ -123,7 +123,7 @@ __acquires(ep->musb->lock)
                        dma_unmap_single(musb->controller,
                                        req->request.dma,
                                        req->request.length,
-                                       req->bTx
+                                       req->tx
                                                ? DMA_TO_DEVICE
                                                : DMA_FROM_DEVICE);
                        req->request.dma = DMA_ADDR_INVALID;
@@ -132,7 +132,7 @@ __acquires(ep->musb->lock)
                        dma_sync_single_for_cpu(musb->controller,
                                        req->request.dma,
                                        req->request.length,
-                                       req->bTx
+                                       req->tx
                                                ? DMA_TO_DEVICE
                                                : DMA_FROM_DEVICE);
        }
@@ -1083,11 +1083,11 @@ struct free_record {
 static void musb_ep_restart(struct musb *musb, struct musb_request *req)
 {
        DBG(3, "<== %s request %p len %u on hw_ep%d\n",
-               req->bTx ? "TX/IN" : "RX/OUT",
+               req->tx ? "TX/IN" : "RX/OUT",
                &req->request, req->request.length, req->epnum);
 
        musb_ep_select(musb->mregs, req->epnum);
-       if (req->bTx)
+       if (req->tx)
                txstate(musb, req);
        else
                rxstate(musb, req);
@@ -1122,7 +1122,7 @@ static int musb_gadget_queue(struct usb_ep *ep, struct usb_request *req,
        request->request.actual = 0;
        request->request.status = -EINPROGRESS;
        request->epnum = musb_ep->current_epnum;
-       request->bTx = musb_ep->is_in;
+       request->tx = musb_ep->is_in;
 
        if (is_dma_capable() && musb_ep->dma) {
                if (request->request.dma == DMA_ADDR_INVALID) {
@@ -1130,7 +1130,7 @@ static int musb_gadget_queue(struct usb_ep *ep, struct usb_request *req,
                                        musb->controller,
                                        request->request.buf,
                                        request->request.length,
-                                       request->bTx
+                                       request->tx
                                                ? DMA_TO_DEVICE
                                                : DMA_FROM_DEVICE);
                        request->mapped = 1;
@@ -1138,7 +1138,7 @@ static int musb_gadget_queue(struct usb_ep *ep, struct usb_request *req,
                        dma_sync_single_for_device(musb->controller,
                                        request->request.dma,
                                        request->request.length,
-                                       request->bTx
+                                       request->tx
                                                ? DMA_TO_DEVICE
                                                : DMA_FROM_DEVICE);
                        request->mapped = 0;
index 05fa1d4d3b3f46cc793b69deee0a38ad66610370..a394754941ff52c9ca5fd268279c7d14a17edc50 100644 (file)
@@ -38,7 +38,7 @@ struct musb_request {
        struct usb_request      request;
        struct musb_ep          *ep;
        struct musb             *musb;
-       u8 bTx;                 /* endpoint direction */
+       u8 tx;                  /* endpoint direction */
        u8 epnum;
        u8 mapped;
 };