[PATCH] AT91: SAM9G45 - add a separate clock entry for every single TC block

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Fri Sep 3 09:05:34 EDT 2010


On 13:31 Fri 03 Sep     , Fabian Godehardt wrote:
> Without this patch you will not be able to register the first block
> because of the second association call on at91_add_device_tc().
> 
> Signed-off-by: Fabian Godehardt <fg at emlix.com>
duplicate code is not a good idea

this is one of the reason I'm think to drop the current clock assotion code of
at91 to use the generic clkdev

here you can also do not specify the device as the clock is not device
specific

Best Regards,
J.



More information about the linux-arm-kernel mailing list