If one adds gpio-controller; to the chip in the devicetree, then
initialization fails with 'gpiochip_find_base: cannot find free range',
because ngpio is 0. This patch fixes the bug.
This version includes the suggestions from Linus Walleij.
Tested on ml507 board.
Signed-off-by: Gern
second part of a dual gpio, which has different device tree property names,
the only way of consolidating that I can think of right now would be to
create a function that takes the property names. If you think that's ok,
I can try to come up with something.
Cheers,
Gernot Vormayr
--
To unsu
If one adds 'gpio-controller;' to the chip in the devicetree, then
initialization fails with 'gpiochip_find_base: cannot find free range',
because ngpio is 0. This patch fixes the bug.
Tested on ml507 board.
Signed-off-by: Gernot Vormayr
---
drivers/gpio/gpio-xilinx.c | 11
If the port number is missing from the device-tree the device gets
named xs` instead of xsa. This fixes the check for missing ids.
Tested on ml507 board.
Signed-off-by: Gernot Vormayr
---
drivers/block/xsysace.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers
This adds the marvel phy which is present on the ml507 board.
Without this ethtool causes kernel-oopses.
Tested on ml507 board.
Signed-off-by: Gernot Vormayr
---
arch/powerpc/boot/dts/virtex440-ml507.dts |6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/powerpc/boot/dts
Since id is u32 the comparsion < 0 will fail. The right way
would be to check the return value of of_property_read_u32
Tested on ml507 board.
Signed-off-by: Gernot Vormayr
---
drivers/block/xsysace.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/bl
6 matches
Mail list logo