summaryrefslogtreecommitdiff
path: root/tools/buildman
diff options
context:
space:
mode:
authorSekhar Nori <nsekhar@ti.com>2019-07-11 12:00:24 +0300
committerSimon Glass <sjg@chromium.org>2019-07-24 22:54:08 +0300
commite497fabb9186bb2f36b4f3ceda4c69bea8e22233 (patch)
treeb3c3ad3e6da94ba530fbcd6ee38edab4b43b0455 /tools/buildman
parentc026231e15fa634c6865c2f8d2317d973b4cc4b4 (diff)
downloadu-boot-e497fabb9186bb2f36b4f3ceda4c69bea8e22233.tar.xz
clk: initialize clk->data when using default xlate
Right now when using clk_of_xlate_default(), clk->data remains un-initialized because clk_get_bulk() does not initialize memory on allocation of clock structure. This can cause problems when data is used to match if two clocks pointers are exactly the same underlying clocks, for example. Fix it by initializing clk->data to 0. Suggested-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'tools/buildman')
0 files changed, 0 insertions, 0 deletions