android_kernel_samsung_a7y1.../drivers/tty
Joe Burmeister 554528f684 tty: max310x: Fix external crystal register setup
commit 5d24f455c182d5116dd5db8e1dc501115ecc9c2c upstream.

The datasheet states:

  Bit 4: ClockEnSet the ClockEn bit high to enable an external clocking
(crystal or clock generator at XIN). Set the ClockEn bit to 0 to disable
clocking
  Bit 1: CrystalEnSet the CrystalEn bit high to enable the crystal
oscillator. When using an external clock source at XIN, CrystalEn must
be set low.

The bit 4, MAX310X_CLKSRC_EXTCLK_BIT, should be set and was not.

This was required to make the MAX3107 with an external crystal on our
board able to send or receive data.

Signed-off-by: Joe Burmeister <joe.burmeister@devtank.co.uk>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-06 18:21:35 +02:00
..
hvc
ipwireless tty: ipwireless: fix missing checks for ioremap 2020-04-06 18:20:13 +02:00
serial tty: max310x: Fix external crystal register setup 2020-04-06 18:21:35 +02:00
vt tty/vt: fix write/write race in ioctl(KDSKBSENT) handler 2020-04-06 18:12:34 +02:00
amiserial.c
bfin_jtag_comm.c
cyclades.c
ehv_bytechan.c
goldfish.c
isicom.c
Kconfig tty: ldisc: add sysctl to prevent autoloading of ldiscs 2020-04-06 15:07:28 +02:00
Makefile
metag_da.c
mips_ejtag_fdc.c
moxa.c
moxa.h
mxser.c
mxser.h
n_gsm.c
n_hdlc.c
n_r3964.c
n_tracerouter.c
n_tracesink.c
n_tracesink.h
n_tty.c
nozomi.c
pty.c
rocket_int.h
rocket.c
rocket.h
synclink_gt.c
synclink.c
synclinkmp.c
sysrq.c
tty_audit.c
tty_buffer.c tty: increase the default flip buffer limit to 2*640K 2020-04-06 14:52:07 +02:00
tty_io.c tty: ldisc: add sysctl to prevent autoloading of ldiscs 2020-04-06 15:07:28 +02:00
tty_ioctl.c
tty_ldisc.c tty: ldisc: add sysctl to prevent autoloading of ldiscs 2020-04-06 15:07:28 +02:00
tty_ldsem.c
tty_mutex.c
tty_port.c