From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68E62C433EF for ; Tue, 14 Sep 2021 10:17:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4B62661159 for ; Tue, 14 Sep 2021 10:17:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231394AbhINKSw (ORCPT ); Tue, 14 Sep 2021 06:18:52 -0400 Received: from wnew4-smtp.messagingengine.com ([64.147.123.18]:54101 "EHLO wnew4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229968AbhINKSq (ORCPT ); Tue, 14 Sep 2021 06:18:46 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.west.internal (Postfix) with ESMTP id 801A62B01316; Tue, 14 Sep 2021 06:17:28 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 14 Sep 2021 06:17:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm3; bh=bnGYLXrV9YaQNC5g2IoDOcF7sb E6WkaRQc/kOvZhUkE=; b=r5J+VZWsXznrOjS+R81gxPTyUwHJ3AuGkk2pv9PiUE KqiEC1esneCcXHXDggSx9ndncpiQniBkdwdlJxkg1c9YreovJhym5VGCs+6WTadb zTBwsS1dIlf7QyeHQXVhncY+6xuGDalobibZtXhOn6YEGqQaUCCTauXZNoy+GynK zoEVW3eoaAq1iPpQFLBRwDX/Uz8b4hywnqeqKHe+neOSi+6zm/6TqcNX3TCSpXWQ FVx8VqOVaW56FsaYIK3s3CF41mEakMupnLr96Zcl9ZOzqZaVPGrtOdoI5EGQGQ2h ueVNOhje334q4HQTT05pwPx22KCeIGZrhoq4fMH6XirQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=bnGYLXrV9YaQNC5g2 IoDOcF7sbE6WkaRQc/kOvZhUkE=; b=tM73tuCNXsPI6gSn5vCyMHnak2lNBmzUa ATJP6qt8ekyMYCbVzKBTOay6Yx7B1Yw2DY0BBhEUOF3o35TV+xBEhPmtndgcp4gy SkblU37N5sphYriuDOB3mP6JStfYRvhXTLJ2LbV6kNGwLZax/6FTpNWTcpVowfyu vBneXQ8gZLxqAA2QUWfLjaoQ3DONYUKfPvqVGxKu7UwuHnJ7tD3TWfeV8bHtjnqI E6OyzWyuwgu0BrM9XDq82ETX14qJ4S+i9g1a/l1NjZ1ZwBwKGHazL+9DLoQgjUfd kwCIPkhsEABdsoncv97ocLOhVbF5/6WHFB9d3JO3KJs44akz0jpow== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudegledgvdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffoggfgsedtkeertdertddtnecuhfhrohhmpeforgigihhmvgcu tfhiphgrrhguuceomhgrgihimhgvsegtvghrnhhordhtvggthheqnecuggftrfgrthhtvg hrnhepjeffheduvddvvdelhfegleelfffgieejvdehgfeijedtieeuteejteefueekjeeg necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrgi himhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 14 Sep 2021 06:17:25 -0400 (EDT) From: Maxime Ripard To: dri-devel@lists.freedesktop.org, Daniel Vetter , David Airlie , Maarten Lankhorst , Thomas Zimmermann , Maxime Ripard Cc: Emma Anholt , linux-rpi-kernel@lists.infradead.org, Dave Stevenson , Phil Elwell , Tim Gover , Dom Cobley , Sam Ravnborg , Nicolas Saenz Julienne , bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/3] drm/probe-helper: Document drm_helper_hpd_irq_event() return value Date: Tue, 14 Sep 2021 12:17:22 +0200 Message-Id: <20210914101724.266570-1-maxime@cerno.tech> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The documentation of the drm_helper_hpd_irq_event() function didn't document the value that function was returning. Add that part as well. Signed-off-by: Maxime Ripard --- Changes from v2: - new patch --- drivers/gpu/drm/drm_probe_helper.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/drm_probe_helper.c b/drivers/gpu/drm/drm_probe_helper.c index 5606bca3caa8..5b77fb5c1a32 100644 --- a/drivers/gpu/drm/drm_probe_helper.c +++ b/drivers/gpu/drm/drm_probe_helper.c @@ -817,6 +817,9 @@ EXPORT_SYMBOL(drm_kms_helper_poll_fini); * * Note that a connector can be both polled and probed from the hotplug handler, * in case the hotplug interrupt is known to be unreliable. + * + * Returns: + * A boolean indicating whether the connector status changed or not */ bool drm_helper_hpd_irq_event(struct drm_device *dev) { -- 2.31.1