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=ham 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 C7043C433F5 for ; Tue, 14 Sep 2021 10:17:32 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 67C25610D1 for ; Tue, 14 Sep 2021 10:17:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 67C25610D1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5546F6E459; Tue, 14 Sep 2021 10:17:31 +0000 (UTC) Received: from wnew4-smtp.messagingengine.com (wnew4-smtp.messagingengine.com [64.147.123.18]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2D0096E459 for ; Tue, 14 Sep 2021 10:17:30 +0000 (UTC) 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 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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