summaryrefslogtreecommitdiff
path: root/drivers/media/rc/nuvoton-cir.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2016-06-24 02:39:12 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-08 17:14:32 -0300
commitcb359a863ab3534afb2c3487b391a8cd2f59f2d6 (patch)
treec3eb908182c4fc50d50507ca058d94ce8864e33a /drivers/media/rc/nuvoton-cir.c
parent594ccee6f09bc5253dbeddcc7904f0b7509f00f9 (diff)
[media] media: rc: nuvoton: remove wake states
Wake states have never been in use and now that we can set the wakeup sequence via sysfs there's in general no need for them. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/rc/nuvoton-cir.c')
-rw-r--r--drivers/media/rc/nuvoton-cir.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/rc/nuvoton-cir.c b/drivers/media/rc/nuvoton-cir.c
index c16515f347b9..0aebbdb07579 100644
--- a/drivers/media/rc/nuvoton-cir.c
+++ b/drivers/media/rc/nuvoton-cir.c
@@ -1206,7 +1206,6 @@ static int nvt_suspend(struct pnp_dev *pdev, pm_message_t state)
/* zero out misc state tracking */
nvt->study_state = ST_STUDY_NONE;
- nvt->wake_state = ST_WAKE_NONE;
/* disable all CIR interrupts */
nvt_cir_reg_write(nvt, 0, CIR_IREN);