diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-10-18 01:39:57 +0200 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-10-18 01:39:57 +0200 |
commit | 0f4e54c64eacab06675a054a861d6e0b7442ec9e (patch) | |
tree | 5338fb0411be0f06d7805afabf487f7e997e3843 /arch/arm/mach-s3c2416 | |
parent | ARM: S3C2443: Remove redundant s3c_register_clocks call for init_clocks (diff) | |
download | linux-0f4e54c64eacab06675a054a861d6e0b7442ec9e.tar.xz linux-0f4e54c64eacab06675a054a861d6e0b7442ec9e.zip |
ARM: S3C64XX: Fix SoC identification for S3C64xx devices
The IS_SAMSUNG_CPU() macro works by comparing the CPU ID mask exactly with
the CPU ID. This was failing for S3C64xx SoCs as in order to support
identification of the exact device the mask covers both variants of the
chip, meaning that the test would always fail on S3C6410 devices. This in
turn caused the core GPIO subsystem to fail to identify the CPU and not
support any GPIOs, crippling the system.
As a minimally invasive fix change the test for the class to be done by
checking each implementation and oring them together.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c2416')
0 files changed, 0 insertions, 0 deletions