linux-stable/arch/m68k
Finn Thain f64747c92f m68k/mac: Fix unexpected interrupt with CONFIG_EARLY_PRINTK
commit df66834a43 upstream.

The present code does not wait for the SCC to finish resetting itself
before trying to initialise the device. The result is that the SCC
interrupt sources become enabled (if they weren't already). This leads to
an early boot crash (unexpected interrupt) given CONFIG_EARLY_PRINTK. Fix
this by adding a delay. A successful reset disables the interrupt sources.

Also, after the reset for channel A setup, the SCC then gets a second
reset for channel B setup which leaves channel A uninitialised again. Fix
this by performing the reset only once.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-06-07 12:53:05 -07:00
..
amiga m68k: set arch_gettimeoffset directly 2012-12-24 09:36:34 -07:00
apollo m68k: set arch_gettimeoffset directly 2012-12-24 09:36:34 -07:00
atari m68k: set arch_gettimeoffset directly 2012-12-24 09:36:34 -07:00
bvme6000 m68k: set arch_gettimeoffset directly 2012-12-24 09:36:34 -07:00
configs netfilter: remove xt_NOTRACK 2012-09-03 13:36:40 +02:00
emu ARCH: drivers remove __dev* attributes. 2013-01-03 15:57:13 -08:00
fpsp040 Fix common misspellings 2011-03-31 11:26:23 -03:00
hp300 m68k: set arch_gettimeoffset directly 2012-12-24 09:36:34 -07:00
ifpsp060 Fix common misspellings 2011-03-31 11:26:23 -03:00
include m68k: define a local gpio_request_one() function 2013-04-09 15:15:31 +10:00
kernel m68k/mac: Fix unexpected interrupt with CONFIG_EARLY_PRINTK 2013-06-07 12:53:05 -07:00
lib m68k: fix unused variable warning in mempcy.c 2012-12-05 10:51:23 +10:00
mac m68k: set arch_gettimeoffset directly 2012-12-24 09:36:34 -07:00
math-emu Fix misspellings of "whether" in comments. 2012-11-19 14:31:35 +01:00
mm m68knommu: fix build when CPU is not coldfire 2013-03-04 11:08:39 +10:00
mvme16x m68k: set arch_gettimeoffset directly 2012-12-24 09:36:34 -07:00
mvme147 m68k: set arch_gettimeoffset directly 2012-12-24 09:36:34 -07:00
platform m68knommu: fix misnamed GPIO pin definition for ColdFire 528x CPU 2013-03-04 15:19:31 +10:00
q40 m68k: set arch_gettimeoffset directly 2012-12-24 09:36:34 -07:00
sun3 m68k: set arch_gettimeoffset directly 2012-12-24 09:36:34 -07:00
sun3x m68k: set arch_gettimeoffset directly 2012-12-24 09:36:34 -07:00
tools/amiga Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
install.sh kbuild: use INSTALLKERNEL to select customized installkernel script 2009-09-20 12:18:14 +02:00
Kconfig Select VIRT_TO_BUS directly where needed 2013-03-12 11:16:40 -07:00
Kconfig.bus arch/m68k: remove CONFIG_EXPERIMENTAL 2012-11-14 08:50:54 +01:00
Kconfig.cpu Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu 2012-12-16 17:42:21 -08:00
Kconfig.debug arch/m68k: remove CONFIG_EXPERIMENTAL 2012-11-14 08:50:54 +01:00
Kconfig.devices tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Kconfig.machine m68k: drop "select EMAC_INC" 2013-03-06 16:08:26 +10:00
Makefile m68knommu: platform code merge for 68000 core cpus 2012-12-05 10:48:47 +10:00