]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
media: fdp1: Reduce FCP not found message level to debug
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 9 Jul 2019 09:59:52 +0000 (06:59 -0300)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 18 Oct 2019 08:25:51 +0000 (04:25 -0400)
BugLink: https://bugs.launchpad.net/bugs/1848046
[ Upstream commit 4fd22938569c14f6092c05880ca387409d78355f ]

When support for the IPMMU is not enabled, the FDP driver may be
probe-deferred multiple times, causing several messages to be printed
like:

    rcar_fdp1 fe940000.fdp1: FCP not found (-517)
    rcar_fdp1 fe944000.fdp1: FCP not found (-517)

Fix this by reducing the message level to debug level, as is done in the
VSP1 driver.

Fixes: 4710b752e029f3f8 ("[media] v4l: Add Renesas R-Car FDP1 Driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/media/platform/rcar_fdp1.c

index 43aae9b6bb20e3e86342fb4c67fca3c9aa86f411..c23ec127c2776f5122d12e5f17c6572cc01ce390 100644 (file)
@@ -2306,7 +2306,7 @@ static int fdp1_probe(struct platform_device *pdev)
                fdp1->fcp = rcar_fcp_get(fcp_node);
                of_node_put(fcp_node);
                if (IS_ERR(fdp1->fcp)) {
-                       dev_err(&pdev->dev, "FCP not found (%ld)\n",
+                       dev_dbg(&pdev->dev, "FCP not found (%ld)\n",
                                PTR_ERR(fdp1->fcp));
                        return PTR_ERR(fdp1->fcp);
                }