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: 7119481 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 012E89F36E for ; Thu, 3 Sep 2015 23:14:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 277D020808 for ; Thu, 3 Sep 2015 23:14:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0A927207DA for ; Thu, 3 Sep 2015 23:14:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757110AbbICXOj (ORCPT ); Thu, 3 Sep 2015 19:14:39 -0400 Received: from mail-lb0-f170.google.com ([209.85.217.170]:32997 "EHLO mail-lb0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756767AbbICXOj (ORCPT ); Thu, 3 Sep 2015 19:14:39 -0400 Received: by lbcjc2 with SMTP id jc2so2382769lbc.0 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=HD7O5TJCUp/TDmBvq32uwiYEvwbUndQeOsh/OjbfqVOH16Uk+55ar+kbz9qlEBPKmq 4PDMa33eX+GYa3R+xb9mREvnC8kpklQaHjJ3zxeblTRdOdDP9ntNOC7+bUuqLAtM+WFR R37jMxHH1Y3diz7H4RumxkclXhQlaKhxM2a7XCdoj7FrChhPrJ0hvVsDAGfib7zfD7zn uBSZw5FCtFqo7s1BSsI1c0IUSqrBjz+4fR2n4C+21OUwcIlc5ulPTJc3+q1mkoZS45vz KAfPoOkMYfQW+C6SmmqvykljchcX6kjg2ejWRLJ3tuhD0LagiXdd044bZm/vGIz6oa0o rdVA== X-Gm-Message-State: ALoCoQmaNXsArUwNZlDrTXruIdqzqAk0Ha24UFjrYnDQuhIEEzpCyxDXiklcIyYlQ9C70xq3ku/3 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-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@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-sh" 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,