]> git.baikalelectronics.ru Git - kernel.git/commit
serial/8250_fintek: Support keys different than default
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Tue, 16 Jun 2015 08:59:39 +0000 (10:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jul 2015 22:14:42 +0000 (15:14 -0700)
commitf01f2eb535cb4da13863a1e685db1eeb5dcc4169
treea1657d3b33d70665ec9e501c6e5a93a4b182c227
parent8c531910b798e78eb7fe577a6caf4eb67efaa89c
serial/8250_fintek: Support keys different than default

Chip can be configured to use entry key different than 0x77. Try all the
valid keys until one gives out the right chip id.

Reported-by: Peter Hong <peter_hong@fintek.com.tw>
Reviewed-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_fintek.c