diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2015-09-21 11:47:11 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-10-22 13:48:24 -0400 |
commit | 54bec3970cb5351d08866af1ea8b0787edd7ede3 (patch) | |
tree | 37fed2b2b0def9640eb78ee6bba36919406bca74 | |
parent | 51a3ac5f4dc45120c78fad51096d989914801457 (diff) |
[media] ir-hix5hd2: drop the use of IRQF_NO_SUSPEND
This driver doesn't claim the IR transmitter to be wakeup source. It
even disables the clock and the IR during suspend-resume cycle.
This patch removes yet another misuse of IRQF_NO_SUSPEND.
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Guoxiong Yan <yanguoxiong@huawei.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
-rw-r--r-- | drivers/media/rc/ir-hix5hd2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/rc/ir-hix5hd2.c b/drivers/media/rc/ir-hix5hd2.c index 1c087cb76815..d0549fba711c 100644 --- a/drivers/media/rc/ir-hix5hd2.c +++ b/drivers/media/rc/ir-hix5hd2.c | |||
@@ -257,7 +257,7 @@ static int hix5hd2_ir_probe(struct platform_device *pdev) | |||
257 | goto clkerr; | 257 | goto clkerr; |
258 | 258 | ||
259 | if (devm_request_irq(dev, priv->irq, hix5hd2_ir_rx_interrupt, | 259 | if (devm_request_irq(dev, priv->irq, hix5hd2_ir_rx_interrupt, |
260 | IRQF_NO_SUSPEND, pdev->name, priv) < 0) { | 260 | 0, pdev->name, priv) < 0) { |
261 | dev_err(dev, "IRQ %d register failed\n", priv->irq); | 261 | dev_err(dev, "IRQ %d register failed\n", priv->irq); |
262 | ret = -EINVAL; | 262 | ret = -EINVAL; |
263 | goto regerr; | 263 | goto regerr; |