Commit 2249b457 authored by Fabio Estevam's avatar Fabio Estevam Committed by Mauro Carvalho Chehab

[media] coda: Do not use __cancel_delayed_work()

commit 136b5721 (workqueue: deprecate __cancel_delayed_work()) made
__cancel_delayed_work deprecated. Use cancel_delayed_work instead and get rid of
the following warning:
drivers/media/platform/coda.c:1543: warning: '__cancel_delayed_work' is deprecated (declared at include/linux/workqueue.h:437)
Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Acked-by: default avatarTejun Heo <tj@kernel.org>
Acked-by: default avatarJavier Martin <javier.martin@vista-silicon.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 01aea0bf
...@@ -1540,7 +1540,7 @@ static irqreturn_t coda_irq_handler(int irq, void *data) ...@@ -1540,7 +1540,7 @@ static irqreturn_t coda_irq_handler(int irq, void *data)
u32 wr_ptr, start_ptr; u32 wr_ptr, start_ptr;
struct coda_ctx *ctx; struct coda_ctx *ctx;
__cancel_delayed_work(&dev->timeout); cancel_delayed_work(&dev->timeout);
/* read status register to attend the IRQ */ /* read status register to attend the IRQ */
coda_read(dev, CODA_REG_BIT_INT_STATUS); coda_read(dev, CODA_REG_BIT_INT_STATUS);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment