[PATCH V2] gpio: Fix return value mismatch of function gpiod_get_from_of_node()

2019-06-20 Thread Waibel Georg
In case the requested gpio property is not found in the device tree, some callers of gpiod_get_from_of_node() expect a return value of NULL, others expect -ENOENT. In particular devm_fwnode_get_index_gpiod_from_child() expects -ENOENT. Currently it gets a NULL, which breaks the loop that tries all

[PATCH] gpio: Fix return value mismatch of function gpiod_get_from_of_node()

2019-06-19 Thread Waibel Georg
In case the requested gpio property is not found in the device tree, some callers of gpiod_get_from_of_node() expect a return value of NULL, others expect -ENOENT. In particular devm_fwnode_get_index_gpiod_from_child() expects -ENOENT. Currently it gets a NULL, which breaks the loop that tries all

[PATCH 1/1] Micrel PHY: Allow setting of config flag MICREL_PHY_50MHZ_CLK for KSZ8081/KSZ8091 PHY

2014-02-11 Thread Waibel Georg
>From fe6aad7bb4c61b3ccd14bf637025e87df05ca14c Mon Sep 17 00:00:00 2001 From: Georg Waibel Date: Tue, 11 Feb 2014 08:15:56 +0100 Subject: [PATCH 1/1] Micrel PHY: Allow setting of config flag MICREL_PHY_50MHZ_CLK for KSZ8081/KSZ8091 PHY The Micrel KSZ8081 and KSZ8091 PHYs support the RMII 50MHz m

AW: [PATCH 1/1] iMX gpio: Allow reading back of pin status if configured as gpio output

2014-01-30 Thread Waibel Georg
On Thu, Jan 23, 2014 at 08:40 PM, Linus Walleij wrote: > I'm holding this off until you've made up your mind about whether it's needed > or not... By setting the SION bit the actual status of a gpio pin can be read back regardless of its driver configuration. You can drop my patch as there i

AW: [PATCH 1/1] iMX gpio: Allow reading back of pin status if configured as gpio output

2014-01-17 Thread Waibel Georg
> On Fri, Jan 17, 2014 at 14:11 +0000, Waibel Georg wrote: > > > > From cb384950a1153e856ec03109a5156e660a89bf6d Mon Sep 17 00:00:00 2001 > > From: Georg Waibel > > Date: Fri, 17 Jan 2014 14:51:38 +0100 > > Subject: [PATCH 1/1] iMX gpio: Allow reading back of pin

[PATCH 1/1] iMX gpio: Allow reading back of pin status if configured as gpio output

2014-01-17 Thread Waibel Georg
>From cb384950a1153e856ec03109a5156e660a89bf6d Mon Sep 17 00:00:00 2001 From: Georg Waibel Date: Fri, 17 Jan 2014 14:51:38 +0100 Subject: [PATCH 1/1] iMX gpio: Allow reading back of pin status if configured as gpio output Register PSR was used to read the pin status in the mxc_gpio driver. This