From: Xiubo Li Date: Wed, 22 Jan 2014 05:57:40 +0000 (+0800) Subject: of: fix of_update_property() X-Git-Tag: v3.15-rc1~121^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02ed594e7113644c06ae3a89bc9215d839510efc;p=pandora-kernel.git of: fix of_update_property() 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: Xiubo Li Cc: Pantelis Antoniou Signed-off-by: Grant Likely --- Reading git-diff-tree failed