diff options
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-async.c')
-rw-r--r-- | drivers/media/v4l2-core/v4l2-async.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/media/v4l2-core/v4l2-async.c b/drivers/media/v4l2-core/v4l2-async.c index 5bada202b2d3..a4b224d92572 100644 --- a/drivers/media/v4l2-core/v4l2-async.c +++ b/drivers/media/v4l2-core/v4l2-async.c | |||
@@ -119,6 +119,13 @@ static int v4l2_async_test_notify(struct v4l2_async_notifier *notifier, | |||
119 | return ret; | 119 | return ret; |
120 | } | 120 | } |
121 | 121 | ||
122 | ret = v4l2_subdev_call(sd, core, registered_async); | ||
123 | if (ret < 0 && ret != -ENOIOCTLCMD) { | ||
124 | if (notifier->unbind) | ||
125 | notifier->unbind(notifier, sd, asd); | ||
126 | return ret; | ||
127 | } | ||
128 | |||
122 | if (list_empty(¬ifier->waiting) && notifier->complete) | 129 | if (list_empty(¬ifier->waiting) && notifier->complete) |
123 | return notifier->complete(notifier); | 130 | return notifier->complete(notifier); |
124 | 131 | ||