]> git.baikalelectronics.ru Git - kernel.git/commit
spi: bcm2835aux: change initialization order and switch to platform_get_irq
authorMartin Sperl <kernel@martin.sperl.org>
Thu, 15 Oct 2015 10:10:20 +0000 (10:10 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 16 Oct 2015 14:35:33 +0000 (15:35 +0100)
commit80208eb78d0d3e71ccae1ebca680729992f43349
treee5f073eb8e787acbd6d11903eaadf2bf7901434e
parentb9243b2aeaa8e0e51ceafdcfad5741005a5c0424
spi: bcm2835aux: change initialization order and switch to platform_get_irq

Change the initialization order of the HW so that the interrupt
is only requested after the HW is initialized

Also the use of irq_of_parse_and_map is replaced by platform_get_irq.

Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-bcm2835aux.c