From 818c898c7d9cff15fa8b31b363ff704307f004d3 Mon Sep 17 00:00:00 2001 From: Steven Toth Date: Fri, 6 Jan 2012 11:55:32 -0300 Subject: [PATCH] --- yaml --- r: 285801 b: refs/heads/master c: c147f61083e3e4a9c2aaecaaed976502defc3b7d h: refs/heads/master i: 285799: 70efd3f7a7685449b566600590b0cb013995d3ad v: v3 --- [refs] | 2 +- trunk/drivers/media/video/cx23885/cx23885-video.c | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 4c8be0ab3832..677b37a69a5b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a21df45df0c41f3eb7d0ec6676c7d14b20842bc2 +refs/heads/master: c147f61083e3e4a9c2aaecaaed976502defc3b7d diff --git a/trunk/drivers/media/video/cx23885/cx23885-video.c b/trunk/drivers/media/video/cx23885/cx23885-video.c index a01cd11da402..4bbf9bb97bde 100644 --- a/trunk/drivers/media/video/cx23885/cx23885-video.c +++ b/trunk/drivers/media/video/cx23885/cx23885-video.c @@ -1303,6 +1303,15 @@ int cx23885_enum_input(struct cx23885_dev *dev, struct v4l2_input *i) if (INPUT(n)->type != CX23885_VMUX_TELEVISION) i->audioset = 0x3; + if (dev->input == n) { + /* enum'd input matches our configured input. + * Ask the video decoder to process the call + * and give it an oppertunity to update the + * status field. + */ + call_all(dev, video, g_input_status, &i->status); + } + return 0; }