Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1706047 > unrolled thread

[PATCH 2/2] gpio: aspeed: Remove reference to clock name in debounce warning message

Started byAndrew Jeffery <andrew@aj.id.au>
First post2017-08-08 08:10 +0200
Last post2017-08-08 08:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/2] gpio: aspeed: Remove reference to clock name in debounce warning message Andrew Jeffery <andrew@aj.id.au> - 2017-08-08 08:10 +0200

#1706047 — [PATCH 2/2] gpio: aspeed: Remove reference to clock name in debounce warning message

FromAndrew Jeffery <andrew@aj.id.au>
Date2017-08-08 08:10 +0200
Subject[PATCH 2/2] gpio: aspeed: Remove reference to clock name in debounce warning message
Message-ID<uc5Sh-3MH-11@gated-at.bofh.it>
HPLL is in fact not the clock we need. Remove the description of which clock we
failed to find a phandle to in order to avoid any further error.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
---
 drivers/gpio/gpio-aspeed.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/gpio-aspeed.c b/drivers/gpio/gpio-aspeed.c
index 4ca436e66bdb..bfc53995064a 100644
--- a/drivers/gpio/gpio-aspeed.c
+++ b/drivers/gpio/gpio-aspeed.c
@@ -834,7 +834,7 @@ static int __init aspeed_gpio_probe(struct platform_device *pdev)
 	gpio->clk = of_clk_get(pdev->dev.of_node, 0);
 	if (IS_ERR(gpio->clk)) {
 		dev_warn(&pdev->dev,
-				"No HPLL clock phandle provided, debouncing disabled\n");
+				"Failed to get clock from devicetree, debouncing disabled\n");
 		gpio->clk = NULL;
 	}
 
-- 
2.11.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web