linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH, v1 0/1] gpio: aspeed: Add gpio base address reading
@ 2021-01-13 22:38 Hongwei Zhang
  2021-01-13 22:38 ` [PATCH, v1 1/1] " Hongwei Zhang
  0 siblings, 1 reply; 6+ messages in thread
From: Hongwei Zhang @ 2021-01-13 22:38 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski, Joel Stanley, Andrew Jeffery,
	linux-gpio, linux-arm-kernel, linux-aspeed, linux-kernel,
	openbmc
  Cc: Hongwei Zhang

Dear Reviewer,

Add gpio base address reading in the driver; in old code, it just
returns -1 to gpio->chip.base. In this patch, the code first try to
read base address from of_property_read_u32(), if it fails, then
return -1.

Hongwei Zhang (1):
  gpio: aspeed: Add gpio base address reading

 drivers/gpio/gpio-aspeed.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-02-05 22:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-13 22:38 [PATCH, v1 0/1] gpio: aspeed: Add gpio base address reading Hongwei Zhang
2021-01-13 22:38 ` [PATCH, v1 1/1] " Hongwei Zhang
2021-01-14  0:27   ` Andrew Jeffery
2021-01-18 14:40   ` Linus Walleij
2021-02-05 16:34   ` Hongwei Zhang
2021-02-05 16:34   ` Hongwei Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).