]> git.baikalelectronics.ru Git - kernel.git/commit
clk: rk808: Pass the right pointer as the get_hw context
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Fri, 9 Sep 2016 13:25:06 +0000 (15:25 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 9 Sep 2016 18:07:07 +0000 (11:07 -0700)
commitd0ac8c520b3219bb54301191ef92d9b0b8981a8f
treec7b2a335d14bf2b466493ae831b7be3b7bcd93d3
parenta8176f7c37eec0da4e117818034488deae953b77
clk: rk808: Pass the right pointer as the get_hw context

Right now we are passing a pointer to a pointer to the structure that
will be used to fetch the clk hw, which gets casted later to a pointer
to the structure, thus getting garbage in the hw structs.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Fixes: 66f0513be163 ("clk: rk808: Migrate to clk_hw based OF and
registration APIs")
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-rk808.c