summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSekhar Nori <[email protected]>2019-07-11 14:30:24 +0530
committerSimon Glass <[email protected]>2019-07-24 12:54:08 -0700
commite497fabb9186bb2f36b4f3ceda4c69bea8e22233 (patch)
treeb3c3ad3e6da94ba530fbcd6ee38edab4b43b0455 /include/linux
parentc026231e15fa634c6865c2f8d2317d973b4cc4b4 (diff)
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 <[email protected]> Signed-off-by: Sekhar Nori <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions