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

« back to all changes in this revision

Viewing changes to drivers/net/wireless/p54/p54spi.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:
287
287
        enable_irq(gpio_to_irq(p54spi_gpio_irq));
288
288
 
289
289
        /*
290
 
         * need to wait a while before device can be accessed, the lenght
 
290
         * need to wait a while before device can be accessed, the length
291
291
         * is just a guess
292
292
         */
293
293
        msleep(10);
649
649
                goto err_free_common;
650
650
        }
651
651
 
652
 
        set_irq_type(gpio_to_irq(p54spi_gpio_irq),
653
 
                     IRQ_TYPE_EDGE_RISING);
 
652
        irq_set_irq_type(gpio_to_irq(p54spi_gpio_irq), IRQ_TYPE_EDGE_RISING);
654
653
 
655
654
        disable_irq(gpio_to_irq(p54spi_gpio_irq));
656
655