]> git.karo-electronics.de Git - linux-beck.git/commit
ipoctal: request_irq after configuration
authorFederico Vaga <federico.vaga@cern.ch>
Thu, 3 Jul 2014 08:53:58 +0000 (10:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2014 00:02:15 +0000 (17:02 -0700)
commit4847cc073adb91695980906ae557957460fda453
tree3bfeca0626b0d401b5634f9cdeff3fa44bf20dde
parent968d04e8de53789ccdb9f74413eb497f155d266b
ipoctal: request_irq after configuration

The request for an IRQ handler must be done after whole configuration. This
was not the case for this driver which request the IRQ in the middle of
the configuration. Sometimes, it happens that something is not completely
configured, we recieve an interrupt thus we stumble into troubles in the
IRQ handler.

Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
Acked-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/ipack/devices/ipoctal.c