Changeset 38043


Ignore:
Timestamp:
2013-09-18T18:31:49+02:00 (4 years ago)
Author:
blogic
Message:

lantiq: fix bug in hcd gpio detetcion code

Signed-off-by: John Crispin <blogic@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/lantiq/ltq-hcd/src/ifxusb_driver.c

    r38031 r38043  
    470470 
    471471        gpio_count = of_gpio_count(np); 
    472         while (gpio_count) { 
     472        while (gpio_count > 0) { 
    473473                enum of_gpio_flags flags; 
    474474                int gpio = of_get_gpio_flags(np, --gpio_count, &flags); 
Note: See TracChangeset for help on using the changeset viewer.