From patchwork Wed Jan 16 13:00:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Volokh Konstantin X-Patchwork-Id: 1987871 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id D85E8DF2A2 for ; Wed, 16 Jan 2013 13:09:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754088Ab3APNI4 (ORCPT ); Wed, 16 Jan 2013 08:08:56 -0500 Received: from mail-la0-f46.google.com ([209.85.215.46]:62470 "EHLO mail-la0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752037Ab3APNIz (ORCPT ); Wed, 16 Jan 2013 08:08:55 -0500 Received: by mail-la0-f46.google.com with SMTP id fq13so1336311lab.5 for ; Wed, 16 Jan 2013 05:08:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=ut2xXKbpl3uHGKHbFA7PfW3M4ZQdmc0BTvGJG67RbdI=; b=ryUUjKN6YefyuEbnb0H3lYnmbrQizXaFRV4ixvKwYQn9z7Aoye81VugaGmEdWRvjlC XitIHmE/d/zgi+SO+upA9350bSClFDiwqo6ExtNacNytqejPhhDvObn2UMFgKHniIV7Z a3cUPqAMquyLZnuDvcFDtff1umjkrOmh86Z149ncDqUwhB9QHM5pmiT9bBBFFV+CaQDT K3wmK13g0rWVc/IYrIemtmvgZhH4eMll7rQKL/NE5XSL1Q5lg/6Tzn79bq8z2qy6T13S J6ytYnl0KVmT5YsBXAXjmEi31x5BdXXanDIz/D/P1E/Wcui6r9vQRCxj2c7ODBPLLtYr 5t9w== X-Received: by 10.112.8.163 with SMTP id s3mr588330lba.113.1358341733911; Wed, 16 Jan 2013 05:08:53 -0800 (PST) Received: from localhost.localdomain (host-24-157-66-217.spbmts.ru. [217.66.157.24]) by mx.google.com with ESMTPS id q4sm919179lbj.15.2013.01.16.05.08.27 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 16 Jan 2013 05:08:53 -0800 (PST) From: Volokh Konstantin To: linux-media@vger.kernel.org Cc: mchehab@redhat.com, gregkh@linuxfoundation.org, volokh84@gmail.com, dhowells@redhat.com, rdunlap@xenotime.net, hans.verkuil@cisco.com, justinmattock@gmail.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] staging: media: go7007: call_all stream stuff Some Additional stuff for v4l2_subdev stream events partial need for new style framework. Also need for wis_tw2804 notification stuff Date: Wed, 16 Jan 2013 17:00:51 +0400 Message-Id: <1358341251-10087-4-git-send-email-volokh84@gmail.com> X-Mailer: git-send-email 1.7.7.6 In-Reply-To: <1358341251-10087-1-git-send-email-volokh84@gmail.com> References: <1358341251-10087-1-git-send-email-volokh84@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Signed-off-by: Volokh Konstantin --- drivers/staging/media/go7007/go7007-v4l2.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/staging/media/go7007/go7007-v4l2.c b/drivers/staging/media/go7007/go7007-v4l2.c index a69250f..2330861 100644 --- a/drivers/staging/media/go7007/go7007-v4l2.c +++ b/drivers/staging/media/go7007/go7007-v4l2.c @@ -953,6 +953,7 @@ static int vidioc_streamon(struct file *file, void *priv, } mutex_unlock(&go->hw_lock); mutex_unlock(&gofh->lock); + call_all(&go->v4l2_dev, video, s_stream, 1); return retval; } @@ -968,6 +969,7 @@ static int vidioc_streamoff(struct file *file, void *priv, mutex_lock(&gofh->lock); go7007_streamoff(go); mutex_unlock(&gofh->lock); + call_all(&go->v4l2_dev, video, s_stream, 0); return 0; }