From patchwork Tue Dec 15 14:19:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1416472 X-Patchwork-Delegate: agust@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=NBrq5LEH; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CwL485Dtmz9sTL for ; Wed, 16 Dec 2020 01:19:36 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8580D8299C; Tue, 15 Dec 2020 15:19:20 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="NBrq5LEH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D71B28298B; Tue, 15 Dec 2020 15:19:17 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0CADC82985 for ; Tue, 15 Dec 2020 15:19:15 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ej1-x641.google.com with SMTP id lt17so27925914ejb.3 for ; Tue, 15 Dec 2020 06:19:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oZbunrT0sx8srpmWeW6Q49/ZCZVMMsFAfwzsIz5gYqY=; b=NBrq5LEH71AKOcthZ7/Sf8DBX7DAodpKalfVZLB1yPJsC/NFVzhsRIx9kcnpbgT0zB pRmVzp2jtkmRQyPldZh4q1oH090ru49DhCmUIzMcwSt4F5hppPNHpDwwHnnLyo9gmp/X qSQvtJiBUe5/MGX/7Tks7ZgPjGjhZqJ0t1zbSVlI3Id55GeYSREH3j0p0t+pNBaE8DOk 0YBDNfq7dYkw0LyW6cCGuV1uhcOkI9Q6MmvnS65SCY1hsFi1horyLhviLkiM0GGNqISu jOnK7ABVKBLX2NkD8myul4tI2KTxDiASCOYZiKUiTS7eSqxux1tg/Evv9uJupdFm9wEq 49ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=oZbunrT0sx8srpmWeW6Q49/ZCZVMMsFAfwzsIz5gYqY=; b=U/PzeR+5lMidjuZ36X9gYIWTnu6absXJefYYhsjvGwQUK4jTh0h0s809neaLsw/pJH vnHYsQSp5lBK76sUPz/cG2fUpfg46m6meYbCy8WHW2OV3hqMeDkgNswq4WOsytCNGRUa YLCWoc+VH/SKdhkJ3iwXB1MPcFIlokeLDkMrYkRcV4mxwlhPEC9OMl3yFhWfAr8afRom bcDEybkZZCUk7y3h9TykqxG4s1tJNJZkP23n7sWEwnF9LxL71BHIHm+OP5owU1ocA3Zr jp+ciSBod6JLS73dPKYSW3ZkfXtkTkc0RT0rWhHBBHIz8oS/ItqkACPcKXTnuUdkRgGn MZSw== X-Gm-Message-State: AOAM532Ba2gSbtdDcW9+gQE2hWfFd0MpL1snscMlhHCHwdUt2hFZXxGj kshdgwxC2VP/HVdU0/PJdXFavQuyHsim2STN X-Google-Smtp-Source: ABdhPJw8SOzSC3lBCNKNNlxbBCymbJaUtv2tFj/D7UTQ1OBIqbiC8Pcu/D0XERFYP5nNiiUKL36lXQ== X-Received: by 2002:a17:906:aeda:: with SMTP id me26mr2065929ejb.11.1608041954458; Tue, 15 Dec 2020 06:19:14 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id ld2sm1497018ejb.73.2020.12.15.06.19.13 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 Dec 2020 06:19:13 -0800 (PST) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com, vikhyat.goyal@xilinx.com, Simon Glass Cc: Anatolij Gustschin Subject: [PATCH v3 1/6] video: Fix video sync kernel-doc format Date: Tue, 15 Dec 2020 15:19:02 +0100 Message-Id: <646642309497502e607f8c3afabcc29041ab0317.1608041943.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean Place description below function parameters to make kernel-doc stript happy. Also rename dev to vid to be aligned with function parameters. Fixes: 1acafc73bfc7 ("dm: video: Add a video uclass") Signed-off-by: Michal Simek Reviewed-by: Simon Glass --- (no changes since v2) Changes in v2: - New patch is series ./scripts/kernel-doc -v -man include/video.h > /dev/null --- include/video.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/video.h b/include/video.h index 9d09d2409af6..7313b17f7ce8 100644 --- a/include/video.h +++ b/include/video.h @@ -151,13 +151,13 @@ int video_clear(struct udevice *dev); /** * video_sync() - Sync a device's frame buffer with its hardware * + * @vid: Device to sync + * @force: True to force a sync even if there was one recently (this is + * very expensive on sandbox) + * * Some frame buffers are cached or have a secondary frame buffer. This * function syncs these up so that the current contents of the U-Boot frame * buffer are displayed to the user. - * - * @dev: Device to sync - * @force: True to force a sync even if there was one recently (this is - * very expensive on sandbox) */ void video_sync(struct udevice *vid, bool force);