]> git.baikalelectronics.ru Git - kernel.git/commit
serial: max310x: Correction of the initial setting of the MODE1 bits for various...
authorAlexander Shiyan <shc_work@mail.ru>
Thu, 31 Jan 2019 05:48:44 +0000 (08:48 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Feb 2019 09:14:28 +0000 (10:14 +0100)
commit62415501ed037a1613e91929f043b4312cdfe138
treef3bc093f872d8ae88626490a1985dd8ce2866826
parentc149c002bfa8429cc9d777c0fe8a858661671e2a
serial: max310x: Correction of the initial setting of the MODE1 bits for various supported ICs.

The MODE1 register bits have different values for different ICs.
This patch corrects the initial setting of this register in accordance
with the datasheets, which will allow you to get the expected values
when debugging the driver.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/max310x.c