[alsa-devel] [PATCH] of: add empty of_find_node_by_path() for !OF
Rob Herring
robherring2 at gmail.com
Wed Apr 16 18:10:15 CEST 2014
On Wed, Apr 16, 2014 at 11:03 AM, Mark Brown <broonie at kernel.org> wrote:
> On Wed, Apr 16, 2014 at 09:32:37AM -0500, Rob Herring wrote:
>> On Wed, Apr 16, 2014 at 9:25 AM, Mark Brown <broonie at kernel.org> wrote:
>
>> > Is there a branch I can pull into ASoC, or can I apply it there? This
>> > fixes a build failure introduced into there by some recent work.
>
>> I haven't pushed it out yet. You can take it and add my ack if you
>> want instead. Otherwise, I do plan to send fixes to Linus this week.
>
> OK, this is needed for new development so I'll apply it temporarily so I
> don't break my tree in -next and then discard it once Linus merges -
> sound sensible?
Yes. If this going to be a common pattern, a
of_get_machine_compatible() helper might be useful. Usually, any code
searching by path makes me suspicious.
Rob
More information about the Alsa-devel
mailing list