[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210113223808.31626-1-hongweiz@ami.com>
Date: Wed, 13 Jan 2021 17:38:07 -0500
From: Hongwei Zhang <hongweiz@....com>
To: Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <bgolaszewski@...libre.com>,
Joel Stanley <joel@....id.au>,
Andrew Jeffery <andrew@...id.au>, <linux-gpio@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-aspeed@...ts.ozlabs.org>, <linux-kernel@...r.kernel.org>,
<openbmc@...ts.ozlabs.org>
CC: Hongwei Zhang <hongweiz@....com>
Subject: [PATCH, v1 0/1] gpio: aspeed: Add gpio base address reading
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
Powered by blists - more mailing lists