UBUNTU: SAUCE: ite-cir: postpone ISR registration
authorLuis Henriques <luis.henriques@canonical.com>
Wed, 18 Apr 2012 16:33:32 +0000 (17:33 +0100)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Wed, 18 Apr 2012 19:43:19 +0000 (12:43 -0700)
commit518aaaa21f07a9c95643c64e3de5ddd5df2e7867
tree654f0f3ce2f9827e9aff4a7707bd1752e8560576
parent694f3a25762c69f187005c501cf8fd8f1f8eeb85
UBUNTU: SAUCE: ite-cir: postpone ISR registration

BugLink: http://bugs.launchpad.net/bugs/984387

An early registration of an ISR was causing a crash to several users.  The
reason was that IRQs were being triggered before the driver initialisation
was completed.

This patch fixes this by moving the invocation to request_irq() to a later
stage on the driver probe function.

Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Acked-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
drivers/media/rc/ite-cir.c