[U-Boot] [PATCH] powerpc/p1022ds: set the clock-frequency property only if the clock is enabled

Kumar Gala kumar.gala at freescale.com
Thu Jun 9 22:55:48 CEST 2011


On Jun 9, 2011, at 1:10 AM, Timur Tabi wrote:

> The clock-frequency property in an audio codec's device tree node is set to
> the input clock frequency for that codec.  On the Freescale P1022DS reference
> board, the input clock is enabled only if the hwconfig 'audclk' option is set.
> Therefore, the property should only be set in the device tree if the clock
> is actually enabled.
> 
> Signed-off-by: Timur Tabi <timur at freescale.com>
> ---
> 
> This patch fixes a real bug in the P1022DS, so please apply it to 2011.06.
> 
> board/freescale/p1022ds/p1022ds.c |   16 ++++++++++------
> 1 files changed, 10 insertions(+), 6 deletions(-)

applied to 85xx

- k


More information about the U-Boot mailing list