]> asedeno.scripts.mit.edu Git - linux.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)
commitf233ea4327d7b6f67a224822fdc9241a9f4e4b59
treef3bc093f872d8ae88626490a1985dd8ce2866826
parent9c6a2583f115acf29a27709ca9ce37714d04fb24
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