]> git.baikalelectronics.ru Git - kernel.git/commit
[media] ene_ir: Fix driver initialisation
authorLuis Henriques <luis.henriques@canonical.com>
Tue, 19 Jun 2012 14:29:49 +0000 (11:29 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 5 Jul 2012 14:14:21 +0000 (11:14 -0300)
commit740ed0e761d37380e2e8e0bf4e37bea1dc9a2f58
treee202361087c615b45cb22d3fa6aa15e9c02fd4aa
parent569fcb55aba73597203312e72130ea07b54efb2b
[media] ene_ir: Fix driver initialisation

commit c78b183ca5d427ba5e7221d514e4dd5389493840 ("[media] rc: Postpone ISR
registration") fixed an early ISR registration on several drivers.  It did
however also introduced a bug by moving the invocation of pnp_port_start()
to the end of the probe function.

This patch fixes this issue by moving the invocation of pnp_port_start() to
an earlier stage in the probe function.

Cc: stable@vger.kernel.org
Cc: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/ene_ir.c