diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2020-02-26 11:13:07 +0100 |
---|---|---|
committer | Andrzej Hajda <a.hajda@samsung.com> | 2020-03-27 08:39:55 +0100 |
commit | 5ea5647f491876027064780cf1ea0beb041e7e41 (patch) | |
tree | 2a85033a065af6a4317e21360035f4156fe1f2ca /drivers/gpu/drm/bridge | |
parent | 9e1ed9fb1eb0a4bc43a26365c592d3095286038b (diff) | |
download | linux-stable-5ea5647f491876027064780cf1ea0beb041e7e41.tar.gz linux-stable-5ea5647f491876027064780cf1ea0beb041e7e41.tar.bz2 linux-stable-5ea5647f491876027064780cf1ea0beb041e7e41.zip |
drm/bridge: sii9234: silence warning about regulators during deferred probe
Don't confuse user with meaningless warning about failure in getting
regulators in case of deferred probe.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200226101307.16708-1-m.szyprowski@samsung.com
Diffstat (limited to 'drivers/gpu/drm/bridge')
-rw-r--r-- | drivers/gpu/drm/bridge/sii9234.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/bridge/sii9234.c b/drivers/gpu/drm/bridge/sii9234.c index f81f81b7051f..b1258f0ed205 100644 --- a/drivers/gpu/drm/bridge/sii9234.c +++ b/drivers/gpu/drm/bridge/sii9234.c @@ -836,7 +836,8 @@ static int sii9234_init_resources(struct sii9234 *ctx, ctx->supplies[3].supply = "cvcc12"; ret = devm_regulator_bulk_get(ctx->dev, 4, ctx->supplies); if (ret) { - dev_err(ctx->dev, "regulator_bulk failed\n"); + if (ret != -EPROBE_DEFER) + dev_err(ctx->dev, "regulator_bulk failed\n"); return ret; } |