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

« back to all changes in this revision

Viewing changes to drivers/usb/image/microtek.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
 *      20000513 added IDs for all products supported by Windows driver (john)
70
70
 *      20000514 Rewrote mts_scsi_queuecommand to use URBs (john)
71
71
 *      20000514 Version 0.0.8j
72
 
 *      20000514 Fix reporting of non-existant devices to SCSI layer (john)
 
72
 *      20000514 Fix reporting of non-existent devices to SCSI layer (john)
73
73
 *      20000514 Added MTS_DEBUG_INT (john)
74
74
 *      20000514 Changed "usb-microtek" to "microtek" for consistency (john)
75
75
 *      20000514 Stupid bug fixes (john)
557
557
 
558
558
        if ( !memcmp( srb->cmnd, mts_read_image_sig, mts_read_image_sig_len )
559
559
) {             pipe = usb_rcvbulkpipe(desc->usb_dev,desc->ep_image);
560
 
                MTS_DEBUG( "transfering from desc->ep_image == %d\n",
 
560
                MTS_DEBUG( "transferring from desc->ep_image == %d\n",
561
561
                           (int)desc->ep_image );
562
562
        } else if ( MTS_DIRECTION_IS_IN(srb->cmnd[0]) ) {
563
563
                        pipe = usb_rcvbulkpipe(desc->usb_dev,desc->ep_response);
564
 
                        MTS_DEBUG( "transfering from desc->ep_response == %d\n",
 
564
                        MTS_DEBUG( "transferring from desc->ep_response == %d\n",
565
565
                                   (int)desc->ep_response);
566
566
        } else {
567
 
                MTS_DEBUG("transfering to desc->ep_out == %d\n",
 
567
                MTS_DEBUG("transferring to desc->ep_out == %d\n",
568
568
                          (int)desc->ep_out);
569
569
                pipe = usb_sndbulkpipe(desc->usb_dev,desc->ep_out);
570
570
        }