Commit 271ee263 authored by Yang Yingliang's avatar Yang Yingliang Committed by Jassi Brar
Browse files

mailbox: mtk-cmdq: fix wrong use of sizeof in cmdq_get_clocks()



It should be size of the struct clk_bulk_data, not data pointer pass to
devm_kcalloc().

Fixes: aa1609f5 ("mailbox: mtk-cmdq: Dynamically allocate clk_bulk_data structure")
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarJassi Brar <jassisinghbrar@gmail.com>
parent f8809b1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment