[media] nuvoton-cir: improve logical device handling
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 30 Dec 2015 16:43:59 +0000 (14:43 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 25 Jan 2016 17:45:40 +0000 (15:45 -0200)
commitccca00d6d7c2d6cec282ac3e3942032268d50fe4
tree8ebfcfad2f411a1b3e759e69b0c894d4461fa738
parent0890655c29a88765924c46460f38f33f7e34b5fc
[media] nuvoton-cir: improve logical device handling

Only enable the logical devices after the registers have been initialized.

The call to nvt_enable_logical_dev in nvt_resume is not needed as this is
done implicitely by nvt_cir_regs_init now.

[mchehab@osg.samsung.com: fixed multiline comment to kernel CodingStyle]
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/rc/nuvoton-cir.c