• X
    of: fix of_update_property() · 02ed594e
    Xiubo Li 提交于
    The of_update_property() is intented to update a property in a node
    and if the property does not exist, will add it.
    
    The second search of the property is possibly won't be found, that
    maybe removed by other thread just before the second search begain.
    
    Using the __of_find_property() and __of_add_property() instead and
    move them into lock operations.
    Signed-off-by: NXiubo Li <Li.Xiubo@freescale.com>
    Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
    Signed-off-by: NGrant Likely <grant.likely@linaro.org>
    02ed594e
base.c 52.1 KB