of: unittest: Remove bogus overlay mutex release from overlay_data_add()
overlay_data_add() never takes the special overlay mutex, so it must not be released in the error patch. Presumably the call to of_overlay_mutex_unlock() is a relic from v1 of the patch. Fixes: f948d6d8 ("of: overlay: avoid race condition between applying multiple overlays") Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: NFrank Rowand <frank.rowand@sony.com> Signed-off-by: NRob Herring <robh@kernel.org>
Showing
想要评论请 注册 或 登录