Skip to content

Commit

Permalink
serial: samsung: fix omission initialize ulcon in reset port fn()
Browse files Browse the repository at this point in the history
Fix omission initialize ulcon in s3c24xx_serial_resetport(),
reset port function in drivers/tty/serial/samsung.c. It has
been happened from commit 0dfb3b4("serial: samsung: merge
all SoC specific port reset functions")

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Cc: stable <stable@vger.kernel.org> [3.3]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Kukjin Kim authored and Greg Kroah-Hartman committed Apr 9, 2012
1 parent 5da527a commit 7b246a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/tty/serial/samsung.c
Original file line number Diff line number Diff line change
Expand Up @@ -982,6 +982,7 @@ static void s3c24xx_serial_resetport(struct uart_port *port,

ucon &= ucon_mask;
wr_regl(port, S3C2410_UCON, ucon | cfg->ucon);
wr_regl(port, S3C2410_ULCON, cfg->ulcon);

/* reset both fifos */
wr_regl(port, S3C2410_UFCON, cfg->ufcon | S3C2410_UFCON_RESETBOTH);
Expand Down

0 comments on commit 7b246a1

Please sign in to comment.