[U-Boot] [PATCH v3 1/7] clk: clk-uclass: Assign clk->dev before call .of_xlate

Simon Glass sjg at chromium.org
Tue Sep 27 19:55:31 CEST 2016


On 26 September 2016 at 21:00, Wenyou Yang <wenyou.yang at atmel.com> wrote:
> In order to make clk->dev available in ops->of_xlate() to get the
> clock ID from the 'reg' property of the clock node, assign the
> clk->dev before calling ops->of_xlate().
>
> Signed-off-by: Wenyou Yang <wenyou.yang at atmel.com>
> Acked-by: Stephen Warren <swarren at nvidia.com>
> ---
>
> Changes in v3: None
> Changes in v2:
>  - Add Acked-by tag.
>
>  drivers/clk/clk-uclass.c | 3 +++
>  1 file changed, 3 insertions(+)

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list