Skip to content

Commit f0427c3

Browse files
committed
vc4_hvs: Mark core clock as optional
This isn't required on Pi3, so don't treat as an error Signed-off-by: popcornmix <popcornmix@gmail.com>
1 parent c8d647f commit f0427c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/gpu/drm/vc4/vc4_hvs.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ static int vc4_hvs_bind(struct device *dev, struct device *master, void *data)
240240
hvs->regset.regs = hvs_regs;
241241
hvs->regset.nregs = ARRAY_SIZE(hvs_regs);
242242

243-
hvs->core_clk = devm_clk_get(&pdev->dev, NULL);
243+
hvs->core_clk = devm_clk_get_optional(&pdev->dev, NULL);
244244
if (IS_ERR(hvs->core_clk)) {
245245
dev_err(&pdev->dev, "Couldn't get core clock\n");
246246
return PTR_ERR(hvs->regs);

0 commit comments

Comments
 (0)