summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-ss4200.c
diff options
context:
space:
mode:
authorJoe Burmeister <joe.burmeister@devtank.co.uk>2019-05-13 11:23:57 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-21 12:18:17 +0200
commit5d24f455c182d5116dd5db8e1dc501115ecc9c2c (patch)
tree235bd3de85e84aeb5f51ee6a698f5ef374504857 /drivers/leds/leds-ss4200.c
parent099506cbbc79c0bd52b19cb6b930f256dabc3950 (diff)
downloadlinux-stable-5d24f455c182d5116dd5db8e1dc501115ecc9c2c.tar.gz
linux-stable-5d24f455c182d5116dd5db8e1dc501115ecc9c2c.tar.bz2
linux-stable-5d24f455c182d5116dd5db8e1dc501115ecc9c2c.zip
tty: max310x: Fix external crystal register setup
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>
Diffstat (limited to 'drivers/leds/leds-ss4200.c')
0 files changed, 0 insertions, 0 deletions