From patchwork Thu Sep 3 23:14:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 7119491 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C11C9BEEC1 for ; Thu, 3 Sep 2015 23:14:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 024CB207DA for ; Thu, 3 Sep 2015 23:14:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1EE8720801 for ; Thu, 3 Sep 2015 23:14:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757464AbbICXOj (ORCPT ); Thu, 3 Sep 2015 19:14:39 -0400 Received: from mail-la0-f45.google.com ([209.85.215.45]:34165 "EHLO mail-la0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756849AbbICXOj (ORCPT ); Thu, 3 Sep 2015 19:14:39 -0400 Received: by laeb10 with SMTP id b10so2868951lae.1 for ; Thu, 03 Sep 2015 16:14:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=a+v5ETVzRqlOy4BKdnY6pH/mjqmt0DLga+aN/jsU9c8=; b=d/uA0OfxxPUeM0UVCYNJwoFDZqgauKTpHAN0wHsRxqacbssOM/hpYYGFR3CYzCu5St 8rex4/T7SyDY4jQLstwcRGfiRdf1tOVciw3KDDvDuGzBmsjGjZb1jhj+Cp0bUy7hJBt1 v+fROkSTz6VQClcPIvMZACtjmancz8CaBp9fCx38p995z9vujIQt1j9aal2PA5lLUb1k P6zgDiaP6TzT66iUNKLWIY45Lad53IHlC1WGcVMwLJpJiit9LRyYaTEx3NifAlnSqNga 35Tm/n7N2SZBsP+b+LUWr9kE35ygnSQvXgsEZEC01z7ySJ11aAciOcUW2G3MGm4PxOmO tPZg== X-Gm-Message-State: ALoCoQkrLYaXH6gDdeIiu89zKVarYVV9/ydcRnU0dRzHpEWLb3R3RL2fdoiMSSwMHkZL4wImXuZZ X-Received: by 10.152.22.168 with SMTP id e8mr490665laf.40.1441322077527; Thu, 03 Sep 2015 16:14:37 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp17-93.pppoe.mtu-net.ru. [81.195.17.93]) by smtp.gmail.com with ESMTPSA id t2sm87859lag.36.2015.09.03.16.14.36 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Sep 2015 16:14:36 -0700 (PDT) From: Sergei Shtylyov To: mchehab@osg.samsung.com, linux-media@vger.kernel.org, lars@metafoo.de Cc: linux-sh@vger.kernel.org Subject: [PATCH 1/3] adv7180: implement g_std() method Date: Fri, 04 Sep 2015 02:14:35 +0300 Message-ID: <55445603.CDVZru8CKl@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.9 (Linux/4.1.5-100.fc21.x86_64; KDE/4.14.9; x86_64; ; ) In-Reply-To: <6015647.cjLjRfTWc7@wasted.cogentembedded.com> References: <6015647.cjLjRfTWc7@wasted.cogentembedded.com> MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Commit cccb83f7a184 ([media] adv7180: add more subdev video ops) forgot to add the g_std() video method. Its implementation seems identical to the querystd() method, so we can just point at adv7180_querystd()... Signed-off-by: Sergei Shtylyov Signed-off-by: Hans Verkuil --- drivers/media/i2c/adv7180.c | 1 + 1 file changed, 1 insertion(+) -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: media_tree/drivers/media/i2c/adv7180.c =================================================================== --- media_tree.orig/drivers/media/i2c/adv7180.c +++ media_tree/drivers/media/i2c/adv7180.c @@ -717,6 +717,7 @@ static int adv7180_g_mbus_config(struct } static const struct v4l2_subdev_video_ops adv7180_video_ops = { + .g_std = adv7180_querystd, .s_std = adv7180_s_std, .querystd = adv7180_querystd, .g_input_status = adv7180_g_input_status,