OSDN Git Service

[media] nuvoton-cir: Activate PNP device when probing
authorAntti Seppälä <a.seppala@gmail.com>
Sun, 16 Feb 2014 10:16:02 +0000 (07:16 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 11 Mar 2014 15:22:50 +0000 (12:22 -0300)
commitc3c2077d9579472b07581ecdaf6cc5a60b1700bc
tree76a8773ba796b24c5a97650e1f3f3f5063f7a024
parent7a1dd50b89d4569baea71a80ad1a9def2353ad7d
[media] nuvoton-cir: Activate PNP device when probing

On certain motherboards (mainly Intel NUC series) bios keeps the
Nuvoton CIR device disabled at boot.

This patch adds a call to kernel PNP layer to activate the device if it
is not already activated. This will improve the chances of the PNP probe
actually succeeding on Intel NUC platforms.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Cc: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/rc/nuvoton-cir.c