]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ene_ir: Fix driver initialisation
authorLuis Henriques <luis.henriques@canonical.com>
Tue, 19 Jun 2012 14:29:49 +0000 (11:29 -0300)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 9 Aug 2012 23:24:38 +0000 (00:24 +0100)
commit492ef8589a3622b8c5d58b37d539cfa381c1b118
tree2ca9ad48d7f0fcc6674289193ff3a9ac89208808
parent1f5d7d0ba028a91f63291ce521ebce558b8c2fb8
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.

Cc: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/media/rc/ene_ir.c