Re: [PATCH/RFC 3/3] of/dynamic: Update list of aliases on aliases changes

2015-06-30 Thread Geert Uytterhoeven
Hi Grant, On Tue, Jun 30, 2015 at 7:21 PM, Grant Likely wrote: > On Tue, 30 Jun 2015 16:51:16 +0200 > , Geert Uytterhoeven > wrote: >> Currently the list of aliases is not updated when an overlay that >> modifies /aliases is added or removed. This breaks drivers (e.g. serial) >> that rely on of

Re: [PATCH/RFC 3/3] of/dynamic: Update list of aliases on aliases changes

2015-06-30 Thread Grant Likely
On Tue, 30 Jun 2015 16:51:16 +0200 , Geert Uytterhoeven wrote: > Currently the list of aliases is not updated when an overlay that > modifies /aliases is added or removed. This breaks drivers (e.g. serial) > that rely on of_alias_get_id(). > > Update the list of aliases when a property of the /a

[PATCH/RFC 3/3] of/dynamic: Update list of aliases on aliases changes

2015-06-30 Thread Geert Uytterhoeven
Currently the list of aliases is not updated when an overlay that modifies /aliases is added or removed. This breaks drivers (e.g. serial) that rely on of_alias_get_id(). Update the list of aliases when a property of the /aliases node is added, removed, or updated. Signed-off-by: Geert Uytterhoev