From patchwork Fri Nov 23 12:50:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 10695759 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7623113BF for ; Fri, 23 Nov 2018 12:51:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5D8202C2AA for ; Fri, 23 Nov 2018 12:51:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 51A6A2C2B9; Fri, 23 Nov 2018 12:51:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EF7802C2AA for ; Fri, 23 Nov 2018 12:51:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390862AbeKWXfK (ORCPT ); Fri, 23 Nov 2018 18:35:10 -0500 Received: from mail-qt1-f193.google.com ([209.85.160.193]:42592 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388147AbeKWXfK (ORCPT ); Fri, 23 Nov 2018 18:35:10 -0500 Received: by mail-qt1-f193.google.com with SMTP id d19so10352276qtq.9 for ; Fri, 23 Nov 2018 04:51:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=28pyfO3HXvgfourjW9MmqpZOzRpyu0xNSUbBlCgPsv8=; b=auysBTMFcxH2DOFsOmpcBcg+6rjWwhkWREfjmRfDVJ9bg8mTJ0GtJAvCsHr6QVYKdP LZQ+DLkApg/rj6yT8hb2PTIg29OvD1urXlEdIUe5OaEpGCNtYK+SPIcJpVtMZKmv9UXR VjVNWwWRlMUk3y8KDET3Z6suCEEV3XknwOSqv2SPr3kDXMaH/xvkJ2OIV+V3Cc0PgCS8 aMLH4BpBswSeyKTVd/rPB2sLzXdt8x0ZSkyj4YWTq2BIdHODIBaYtoHG4NxU5y+EIUS7 Uu/a2w2OAE2LHa5PPmFSXgfNwSQgAK3iMx2PpOCzrYAH1gc3e7AJyUQb4tXavWpq7V+e m3kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=28pyfO3HXvgfourjW9MmqpZOzRpyu0xNSUbBlCgPsv8=; b=VwxX0jnEtWE5hrrxABY4gUBmrY4pxVCvnxyzEXJ3XXKff4fh28cBSMc9+RsdeCDAwx xs0/li3hstlMKAqYzjbPc0Ulk4htq85BMPdQ7QWxugCW/Ci3z3L7aMRbFDmcY5heVv2/ I58UWep7A7ySVAxGbda52cyJ8rL0ly+1V/PxAEcJGIyzPVG/Fm4IAsYLELjDc9Ohtb2/ q5d8eF/g4RDzVN7LhwMUdoZP8jPym9lNTlTpeaeEr2+C2acVNYYw1uvFothrNTCYxX0P mSMcf1/aG1rQaAbGWvHYJbaquUZwu/yw5ZuOL6DVWzKTDzguHxDt2NDOdEyAR4Z4AWcQ tPmg== X-Gm-Message-State: AA+aEWYFvitCO5cXSbh6lVU/1tFmDBdVHxvqCcXrzPgKl78j8kW9kHgS u7iVHMS2CzBEIi710IVd2I8= X-Google-Smtp-Source: AFSGD/W9qaxek/K9t8hikVGLWwTTq4AY9maTslYGgsXHPVOpUAy3v7iTG33e4ZmKzXX/Bk3lJsh6KQ== X-Received: by 2002:a0c:80a8:: with SMTP id 37mr14700017qvb.191.1542977465067; Fri, 23 Nov 2018 04:51:05 -0800 (PST) Received: from localhost.localdomain ([201.82.144.36]) by smtp.gmail.com with ESMTPSA id n37sm23127230qte.22.2018.11.23.04.51.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 23 Nov 2018 04:51:04 -0800 (PST) From: Fabio Estevam To: mchehab@kernel.org Cc: sakari.ailus@linux.intel.com, slongerbeam@gmail.com, p.zabel@pengutronix.de, linux-media@vger.kernel.org, Fabio Estevam Subject: [PATCH] media: v4l2-fwnode: Demote warning to debug level Date: Fri, 23 Nov 2018 10:50:59 -0200 Message-Id: <1542977459-14550-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On a imx6q-wandboard the following warnings are observed: [ 4.327794] video-mux 20e0000.iomuxc-gpr:ipu1_csi0_mux: bad remote port parent [ 4.336118] video-mux 20e0000.iomuxc-gpr:ipu2_csi1_mux: bad remote port parent As explained by Philipp Zabel: "There are empty endpoint nodes (without remote-endpoint property) labeled ipu1_csi[01]_mux_from_parallel_sensor in the i.MX6 device trees for board DT implementers' convenience. See commit 2539f517acbdc ("ARM: dts: imx6qdl: Add video multiplexers, mipi_csi, and their connections")." So demote the warning to debug level and make the wording a bit less misleading. Suggested-by: Philipp Zabel Signed-off-by: Fabio Estevam Reviewed-by: Steve Longerbeam --- drivers/media/v4l2-core/v4l2-fwnode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/v4l2-core/v4l2-fwnode.c b/drivers/media/v4l2-core/v4l2-fwnode.c index 218f0da..7a3cc10 100644 --- a/drivers/media/v4l2-core/v4l2-fwnode.c +++ b/drivers/media/v4l2-core/v4l2-fwnode.c @@ -613,7 +613,7 @@ v4l2_async_notifier_fwnode_parse_endpoint(struct device *dev, asd->match.fwnode = fwnode_graph_get_remote_port_parent(endpoint); if (!asd->match.fwnode) { - dev_warn(dev, "bad remote port parent\n"); + dev_dbg(dev, "no remote endpoint found\n"); ret = -ENOTCONN; goto out_err; }