summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cpu
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2017-01-11 16:43:31 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-19 14:17:05 +0100
commitf48debc42f9aee5fcdde44f4ef2120dd25394a65 (patch)
treea791f0dc013bb4e375e9baa7e322e7c2895d77bf /arch/sh/kernel/cpu
parenta05ea9e26456c1c249d1e50f033898390e92679e (diff)
downloadop-kernel-dev-f48debc42f9aee5fcdde44f4ef2120dd25394a65.zip
op-kernel-dev-f48debc42f9aee5fcdde44f4ef2120dd25394a65.tar.gz
sh: Don't set the sh-sci platform data REIE bit when not implemented
According to the datasheets, the sh7760 SIM and sh7723 SCIFA instances don't implement the REIE bit. Don't set it in platform data. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sh/kernel/cpu')
-rw-r--r--arch/sh/kernel/cpu/sh4/setup-sh7760.c1
-rw-r--r--arch/sh/kernel/cpu/sh4a/setup-sh7723.c3
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/sh/kernel/cpu/sh4/setup-sh7760.c b/arch/sh/kernel/cpu/sh4/setup-sh7760.c
index 641b858..0c0cdfc 100644
--- a/arch/sh/kernel/cpu/sh4/setup-sh7760.c
+++ b/arch/sh/kernel/cpu/sh4/setup-sh7760.c
@@ -200,7 +200,6 @@ static struct platform_device scif2_device = {
};
static struct plat_sci_port scif3_platform_data = {
- .scscr = SCSCR_REIE,
.type = PORT_SCI,
.regshift = 2,
};
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7723.c b/arch/sh/kernel/cpu/sh4a/setup-sh7723.c
index 6c5cb23..1c1b3c469 100644
--- a/arch/sh/kernel/cpu/sh4a/setup-sh7723.c
+++ b/arch/sh/kernel/cpu/sh4a/setup-sh7723.c
@@ -86,7 +86,6 @@ static struct platform_device scif2_device = {
};
static struct plat_sci_port scif3_platform_data = {
- .scscr = SCSCR_REIE,
.sampling_rate = 8,
.type = PORT_SCIFA,
};
@@ -107,7 +106,6 @@ static struct platform_device scif3_device = {
};
static struct plat_sci_port scif4_platform_data = {
- .scscr = SCSCR_REIE,
.sampling_rate = 8,
.type = PORT_SCIFA,
};
@@ -128,7 +126,6 @@ static struct platform_device scif4_device = {
};
static struct plat_sci_port scif5_platform_data = {
- .scscr = SCSCR_REIE,
.sampling_rate = 8,
.type = PORT_SCIFA,
};
OpenPOWER on IntegriCloud