Files
linux/drivers
Joe Burmeister 97fb8dbf36 tty: max310x: Fix external crystal register setup
commit 5d24f455c1 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>
2019-06-11 12:22:42 +02:00
..
2019-05-14 19:19:34 +02:00
2018-12-21 14:11:37 +01:00
2019-05-14 19:19:34 +02:00
2017-09-09 17:39:41 +02:00
2018-12-21 14:11:36 +01:00
2019-05-31 06:48:31 -07:00
2018-11-13 11:17:02 -08:00
2018-11-27 16:09:41 +01:00
2018-10-03 17:01:42 -07:00
2019-04-27 09:34:40 +02:00
2019-05-31 06:48:15 -07:00