~ubuntu-branches/ubuntu/wily/linux-ti-omap4/wily

« back to all changes in this revision

Viewing changes to drivers/usb/serial/visor.c

  • Committer: Package Import Robot
  • Author(s): Paolo Pisati, Paolo Pisati
  • Date: 2013-07-11 18:35:20 UTC
  • Revision ID: package-import@ubuntu.com-20130711183520-htnf1x4y5r11hndr
Tags: 3.5.0-229.42
* Release Tracking Bug
  - LP: #1199276

[ Paolo Pisati ]

* [Config] CONFIG_ATH9K_LEGACY_RATE_CONTROL is not set

Show diffs side-by-side

added added

removed removed

Lines of Context:
570
570
        */
571
571
#define COPY_PORT(dest, src)                                            \
572
572
        do { \
 
573
                int i;                                                  \
 
574
                                                                        \
 
575
                for (i = 0; i < ARRAY_SIZE(src->read_urbs); ++i) {      \
 
576
                        dest->read_urbs[i] = src->read_urbs[i];         \
 
577
                        dest->read_urbs[i]->context = dest;             \
 
578
                        dest->bulk_in_buffers[i] = src->bulk_in_buffers[i]; \
 
579
                }                                                       \
573
580
                dest->read_urb = src->read_urb;                         \
574
581
                dest->bulk_in_endpointAddress = src->bulk_in_endpointAddress;\
575
582
                dest->bulk_in_buffer = src->bulk_in_buffer;             \
 
583
                dest->bulk_in_size = src->bulk_in_size;                 \
576
584
                dest->interrupt_in_urb = src->interrupt_in_urb;         \
 
585
                dest->interrupt_in_urb->context = dest;                 \
577
586
                dest->interrupt_in_endpointAddress = \
578
587
                                        src->interrupt_in_endpointAddress;\
579
588
                dest->interrupt_in_buffer = src->interrupt_in_buffer;   \