Revision f05596dbc922276ed675c713519220bae8042e32 authored by Anti Sullin on 22 September 2008, 20:57:54 UTC, committed by Linus Torvalds on 23 September 2008, 15:09:14 UTC
This problem seems to be unnoticed so far:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b3b708fa2780cd2b5d8266a8f0c3a1cab364d4d2

has changed the serial core behavior to not to suspend the port if the
device is enabled as a wakeup source.  If the AT91 system goes to slow
clock mode, the port should be suspended always and the clocks should be
switched off.  The patch attached updates the atmel_serial driver to match
the changes in serial core.

Also, the interrupts are disabled when the clock is disabled.  If we
disable the clock with interrupts enabled, an interrupt may get stuck.  If
this is the DBGU interrupt, this blocks the OR logic at system controller
and thus all other sysc interrupts.

Signed-off-by: Anti Sullin <anti.sullin@artecdesign.ee>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Cc: Michael Trimarchi <trimarchimichael@yahoo.it>
Cc: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent a10cebf
History
File Mode Size
Kconfig -rw-r--r-- 6.2 KB
Makefile -rw-r--r-- 1.3 KB
allocpercpu.c -rw-r--r-- 4.0 KB
backing-dev.c -rw-r--r-- 6.9 KB
bootmem.c -rw-r--r-- 17.8 KB
bounce.c -rw-r--r-- 6.4 KB
dmapool.c -rw-r--r-- 12.9 KB
fadvise.c -rw-r--r-- 2.9 KB
filemap.c -rw-r--r-- 70.2 KB
filemap_xip.c -rw-r--r-- 11.0 KB
fremap.c -rw-r--r-- 6.3 KB
highmem.c -rw-r--r-- 8.7 KB
hugetlb.c -rw-r--r-- 57.5 KB
internal.h -rw-r--r-- 3.1 KB
maccess.c -rw-r--r-- 1.4 KB
madvise.c -rw-r--r-- 9.5 KB
memcontrol.c -rw-r--r-- 29.6 KB
memory.c -rw-r--r-- 80.9 KB
memory_hotplug.c -rw-r--r-- 20.4 KB
mempolicy.c -rw-r--r-- 59.0 KB
mempool.c -rw-r--r-- 9.0 KB
migrate.c -rw-r--r-- 25.4 KB
mincore.c -rw-r--r-- 5.7 KB
mlock.c -rw-r--r-- 5.6 KB
mm_init.c -rw-r--r-- 3.7 KB
mmap.c -rw-r--r-- 63.7 KB
mmu_notifier.c -rw-r--r-- 8.2 KB
mmzone.c -rw-r--r-- 1.5 KB
mprotect.c -rw-r--r-- 7.5 KB
mremap.c -rw-r--r-- 11.1 KB
msync.c -rw-r--r-- 2.4 KB
nommu.c -rw-r--r-- 35.3 KB
oom_kill.c -rw-r--r-- 15.3 KB
page-writeback.c -rw-r--r-- 36.5 KB
page_alloc.c -rw-r--r-- 128.2 KB
page_io.c -rw-r--r-- 3.4 KB
page_isolation.c -rw-r--r-- 3.4 KB
pagewalk.c -rw-r--r-- 3.2 KB
pdflush.c -rw-r--r-- 6.3 KB
prio_tree.c -rw-r--r-- 6.3 KB
quicklist.c -rw-r--r-- 2.4 KB
readahead.c -rw-r--r-- 13.4 KB
rmap.c -rw-r--r-- 27.9 KB
shmem.c -rw-r--r-- 66.3 KB
shmem_acl.c -rw-r--r-- 4.6 KB
slab.c -rw-r--r-- 115.1 KB
slob.c -rw-r--r-- 15.8 KB
slub.c -rw-r--r-- 105.0 KB
sparse-vmemmap.c -rw-r--r-- 4.1 KB
sparse.c -rw-r--r-- 16.2 KB
swap.c -rw-r--r-- 13.1 KB
swap_state.c -rw-r--r-- 9.9 KB
swapfile.c -rw-r--r-- 45.3 KB
thrash.c -rw-r--r-- 2.0 KB
tiny-shmem.c -rw-r--r-- 2.8 KB
truncate.c -rw-r--r-- 12.9 KB
util.c -rw-r--r-- 3.9 KB
vmalloc.c -rw-r--r-- 22.6 KB
vmscan.c -rw-r--r-- 57.9 KB
vmstat.c -rw-r--r-- 20.7 KB

back to top