Re: [PATCH 13/29] clk: introduce CLK_SET_RATE_PARENT flag
Alexander Shiyan
shc_work at mail.ru
Fri Mar 14 12:06:41 EDT 2014
Пятница, 14 марта 2014, 15:32 +01:00 от Sascha Hauer <s.hauer at pengutronix.de>:
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> ---
> include/linux/clk.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/include/linux/clk.h b/include/linux/clk.h
> index 7e5010a..2704b0f 100644
> --- a/include/linux/clk.h
> +++ b/include/linux/clk.h
> @@ -196,6 +196,9 @@ static inline int clk_set_rate(struct clk *clk, unsigned long rate)
> #endif
>
> #ifdef CONFIG_COMMON_CLK
> +
> +#define CLK_SET_RATE_PARENT (1 << 0) /* propagate rate change up one level */
Lets do it same value as in the kernel, ie CLK_SET_RATE_PARENT BIT(2)
---
More information about the barebox
mailing list