Re: [alsa-devel] [PATCH 3/3] ASoC: rt5645: add device tree support

8 May
2015
8 May
'15
12:25 p.m.
On Fri, May 08, 2015 at 11:13:39AM +0300, Mika Westerberg wrote:
Looks like some of the context is lost but if I decode the above right, you want to know if there is anything that corresponds to of_get_named_gpio() in the generic property API?
You can use fwnode_get_named_gpiod() if you need to extract a GPIO directly from firmware node. Otherwise you should be using devm_gpiod_get() and friends.
Right, almost certainly devm_gpiod_get() in this case as I've said several times now :(
3594
Age (days ago)
3594
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mark Brown