v2022.05.0
Sascha Hauer
sha at pengutronix.de
Thu May 19 03:44:46 PDT 2022
On Thu, May 19, 2022 at 11:11:06AM +0300, Alexander Shiyan wrote:
> ср, 18 мая 2022 г. в 16:00, Sascha Hauer <sha at pengutronix.de>:
> > Hi All,
> > barebox-2022.05.0 is out.
>
> Hello.
> After updating to the new version, I found errors...
> This is probably the result of the "gpio: allocate dynamic gpio
> numbers top down" patch.
> In the gpiochip_find_base function, it seems to me that we should
> change the algorithm
> if the chip exists, such as:
> if (!chip) {
> ...
> } else {
> spare = 0;
> i+= chip->ngpio - 1; // Should be: i -= chip->ngpio - 1; ???
> }
Yes, indeed :(
I just sent a fix.
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list