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

« back to all changes in this revision

Viewing changes to arch/arm/mach-omap2/usb-tusb6010.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:
293
293
                        );
294
294
 
295
295
        /* IRQ */
296
 
        status = gpio_request(irq, "TUSB6010 irq");
 
296
        status = gpio_request_one(irq, GPIOF_IN, "TUSB6010 irq");
297
297
        if (status < 0) {
298
298
                printk(error, 3, status);
299
299
                return status;
300
300
        }
301
 
        gpio_direction_input(irq);
302
301
        tusb_resources[2].start = irq + IH_GPIO_BASE;
303
302
 
304
303
        /* set up memory timings ... can speed them up later */