]> git.baikalelectronics.ru Git - kernel.git/commit
[AVR32] Don't enable clocks with no users
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Wed, 14 Mar 2007 12:23:44 +0000 (13:23 +0100)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 27 Apr 2007 11:44:13 +0000 (13:44 +0200)
commitf5bbb4a34de91c703ab4a4961d433727b55c89a1
tree29c930e7609d441f543baade2ddac70665d7bf54
parent51ba9d050e963bfbc29ef81d32518fcd9b420575
[AVR32] Don't enable clocks with no users

Bring the code that sets the initial PM clock masks in line with the
comment preceding it by only enabling clocks that have users != 0.
Fix SM clock definition and avr32_hpt_init() so that the SM and TC0
clocks keep ticking.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/mach-at32ap/at32ap7000.c
arch/avr32/mach-at32ap/time-tc.c