diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2013-05-21 09:32:42 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-05-27 08:33:20 -0400 |
commit | 39cc029f9c74a9917560c51f1b5dd2ed8c4ede8a (patch) | |
tree | 08f4d335227b6fea5d73debfceab98c2c1765e10 /drivers/media/platform/coda.c | |
parent | 72720ffc74a58ce27ea237c729f38e6a966f2997 (diff) |
[media] coda: do not use v4l2_dev in coda_timeout
The timeout delayed work might be scheduled even after the v4l2 device is
released.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/coda.c')
-rw-r--r-- | drivers/media/platform/coda.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index aebd17251ba2..efb42b2913ca 100644 --- a/drivers/media/platform/coda.c +++ b/drivers/media/platform/coda.c | |||
@@ -1676,7 +1676,7 @@ static void coda_timeout(struct work_struct *work) | |||
1676 | 1676 | ||
1677 | complete(&dev->done); | 1677 | complete(&dev->done); |
1678 | 1678 | ||
1679 | v4l2_err(&dev->v4l2_dev, "CODA PIC_RUN timeout, stopping all streams\n"); | 1679 | dev_err(&dev->plat_dev->dev, "CODA PIC_RUN timeout, stopping all streams\n"); |
1680 | 1680 | ||
1681 | mutex_lock(&dev->dev_mutex); | 1681 | mutex_lock(&dev->dev_mutex); |
1682 | list_for_each_entry(ctx, &dev->instances, list) { | 1682 | list_for_each_entry(ctx, &dev->instances, list) { |