[media] ene_ir: disable the device if wake is disabled
authorMaxim Levitsky <maximlevitsky@gmail.com>
Sun, 7 Jul 2013 23:22:46 +0000 (20:22 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 29 Jul 2013 14:48:26 +0000 (11:48 -0300)
commitb5daad2f13c90ef3175d201450543fd0a1627bdd
tree311f5088999217708312c75db6a41aa29925c20e
parent1de6ebba2c2759da4d8ccb167336a4d136d08471
[media] ene_ir: disable the device if wake is disabled

It doesn't hurt and on my notebook despite clearing the
wake flag the remote still wakes up the system.

This way it doesn't.

Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/rc/ene_ir.c