Commit f48debc4 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Greg Kroah-Hartman

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: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a05ea9e2
...@@ -200,7 +200,6 @@ static struct platform_device scif2_device = { ...@@ -200,7 +200,6 @@ static struct platform_device scif2_device = {
}; };
static struct plat_sci_port scif3_platform_data = { static struct plat_sci_port scif3_platform_data = {
.scscr = SCSCR_REIE,
.type = PORT_SCI, .type = PORT_SCI,
.regshift = 2, .regshift = 2,
}; };
......
...@@ -86,7 +86,6 @@ static struct platform_device scif2_device = { ...@@ -86,7 +86,6 @@ static struct platform_device scif2_device = {
}; };
static struct plat_sci_port scif3_platform_data = { static struct plat_sci_port scif3_platform_data = {
.scscr = SCSCR_REIE,
.sampling_rate = 8, .sampling_rate = 8,
.type = PORT_SCIFA, .type = PORT_SCIFA,
}; };
...@@ -107,7 +106,6 @@ static struct platform_device scif3_device = { ...@@ -107,7 +106,6 @@ static struct platform_device scif3_device = {
}; };
static struct plat_sci_port scif4_platform_data = { static struct plat_sci_port scif4_platform_data = {
.scscr = SCSCR_REIE,
.sampling_rate = 8, .sampling_rate = 8,
.type = PORT_SCIFA, .type = PORT_SCIFA,
}; };
...@@ -128,7 +126,6 @@ static struct platform_device scif4_device = { ...@@ -128,7 +126,6 @@ static struct platform_device scif4_device = {
}; };
static struct plat_sci_port scif5_platform_data = { static struct plat_sci_port scif5_platform_data = {
.scscr = SCSCR_REIE,
.sampling_rate = 8, .sampling_rate = 8,
.type = PORT_SCIFA, .type = PORT_SCIFA,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment