]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2012 14:52:31 +0000 (07:52 -0700)
commitbd2c6675ad6c33e2130860ab513466bd9a4069e3
tree7bebe68192276530fcc4b76990fc746cbaeb3031
parentaca31ab725ec75c502a27f47d1ca18b1e2caad65
media: ene_ir: Fix driver initialisation

commit b31b021988fed9e3741a46918f14ba9b063811db upstream.

commit 9ef449c6b31bb6a8e6dedc24de475a3b8c79be20 ("[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.

Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Cc: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/rc/ene_ir.c