[media] v4l2-async: Use proper list head for iteration over registered subdevs
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 31 Jul 2013 16:10:18 +0000 (13:10 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 18 Aug 2013 12:24:23 +0000 (09:24 -0300)
This fixes regression introduced in commit b426b3a660c85faf6e1ca1c92c6d
[media] V4L: Merge struct v4l2_async_subdev_list with struct v4l2_subdev

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/v4l2-core/v4l2-async.c

index 10bb62cb8d7d2c886731aa82bd0c0a39554a9c2e..c85d69da35bdee1b2c0f82ac9deb395e8450b786 100644 (file)
@@ -199,7 +199,7 @@ void v4l2_async_notifier_unregister(struct v4l2_async_notifier *notifier)
 
        list_del(&notifier->list);
 
-       list_for_each_entry_safe(sd, tmp, &notifier->done, list) {
+       list_for_each_entry_safe(sd, tmp, &notifier->done, async_list) {
                dev[i] = get_device(sd->dev);
 
                v4l2_async_cleanup(sd);