[media] media: st-rc: remove misuse of IRQF_NO_SUSPEND flag
authorSudeep Holla <sudeep.holla@arm.com>
Mon, 21 Sep 2015 15:47:10 +0000 (12:47 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 19 Nov 2015 08:46:05 +0000 (06:46 -0200)
commita2d1e1ed18dbd67c7d0e20e7c55336d075273b18
treef9ce1947044abc0f2b54ad98f76e0b70adc1adc2
parent203e942d20ab62f777360ae18c429237efef682b
[media] media: st-rc: remove misuse of IRQF_NO_SUSPEND flag

The device is set as wakeup capable using proper wakeup API but the
driver misuses IRQF_NO_SUSPEND to set the interrupt as wakeup source
which is incorrect.

This patch removes the use of IRQF_NO_SUSPEND flags replacing it with
enable_irq_wake instead.

Cc: Srinivas Kandagatla <srinivas.kandagatla@gmail.com>
Cc: Maxime Coquelin <maxime.coquelin@st.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: kernel@stlinux.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/rc/st_rc.c