Peter Hung
d3159455bf
serial: 8250_pci: fix mode after S3/S4 resume for F81504/508/512
...
Fix RS232/485 mode incorrect setting after S3/S4 resume for F81504/508/512
We had add RS232/485 RTS control with fecf27a373
. But when it
resume from S3/S4, the mode register 0x40 + 0x08 * idx + 7 will
rewrite to 0x01 (RS232 mode).
This patch will modify 2 sections.
One is pci_fintek_init(), if it called when first init, it will
write mode register with 0x01. If it called from S3/S4 resume,
it's will get the relative port data and pass it to
pci_fintek_rs485_config() with NULL rs485 parameter.
The another modification is in pci_fintek_rs485_config(). It'll
re-apply old configuration when the parameter rs485 is NULL.
Signed-off-by: Peter Hung <hpeter+linux_kernel@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-08-05 12:24:27 -07:00
..
2015-08-05 12:24:27 -07:00
2015-03-26 23:00:36 +01:00
2015-03-26 23:00:36 +01:00
2014-07-09 17:29:38 -07:00
2015-05-10 19:04:16 +02:00
2015-05-06 22:26:58 +02:00
2015-05-06 22:26:58 +02:00
2014-11-06 14:57:27 -08:00
2015-08-04 22:07:26 -07:00
2015-03-26 22:49:10 +01:00
2015-03-07 03:20:25 +01:00
2014-10-20 16:21:45 +02:00
2015-08-04 22:07:22 -07:00
2015-03-07 03:13:07 +01:00
2014-11-25 17:06:38 -08:00
2015-05-06 22:26:59 +02:00
2015-03-07 03:15:03 +01:00
2015-05-10 19:04:17 +02:00
2014-11-05 20:18:30 -08:00
2015-02-02 10:11:25 -08:00
2014-07-09 17:29:38 -07:00
2014-04-24 16:32:27 -07:00
2015-06-01 06:55:12 +09:00
2014-10-20 16:21:45 +02:00
2015-08-04 22:07:20 -07:00
2015-04-07 11:07:20 +02:00
2015-05-10 19:04:17 +02:00
2015-05-06 22:27:01 +02:00
2015-08-03 15:51:19 -07:00
2015-05-10 19:04:17 +02:00
2015-05-10 19:04:17 +02:00
2014-11-05 19:20:52 -08:00
2015-08-04 22:07:26 -07:00
2015-05-06 22:26:57 +02:00
2013-09-04 12:26:36 +02:00
2015-07-23 18:27:41 -07:00
2014-10-20 16:21:45 +02:00
2014-11-05 19:20:52 -08:00
2015-06-10 17:34:26 -07:00
2014-11-06 15:00:15 -08:00
2015-03-07 03:13:08 +01:00
2015-05-06 22:26:59 +02:00
2015-02-02 10:11:27 -08:00
2015-05-06 22:27:02 +02:00
2015-08-04 22:07:20 -07:00
2015-05-10 19:04:17 +02:00
2015-02-02 10:11:25 -08:00
2015-03-26 22:31:09 +01:00
2014-07-09 17:29:38 -07:00
2015-05-10 19:08:16 +02:00
2014-10-20 16:21:45 +02:00
2014-09-08 16:17:45 -07:00
2015-06-01 06:55:12 +09:00
2015-06-09 23:35:00 -07:00
2014-08-01 16:04:21 -07:00
2015-03-26 22:49:10 +01:00
2014-12-14 16:10:09 -08:00
2015-03-26 22:49:10 +01:00
2013-12-08 17:09:07 -08:00
2014-12-14 16:10:09 -08:00
2015-08-04 22:07:24 -07:00
2015-08-04 22:07:23 -07:00
2014-06-19 13:04:52 -07:00
2015-08-04 22:07:27 -07:00
2014-10-20 16:21:45 +02:00
2015-08-04 22:07:23 -07:00
2015-06-09 12:26:32 -07:00
2015-06-26 15:53:22 -07:00
2014-05-28 12:49:14 -07:00
2014-10-20 16:21:45 +02:00
2015-05-24 12:53:44 -07:00
2015-06-26 15:53:22 -07:00
2015-05-10 19:06:39 +02:00
2015-07-23 15:32:04 -07:00
2015-07-23 15:32:04 -07:00
2015-07-23 18:27:41 -07:00
2015-06-12 17:39:50 -07:00
2015-03-26 22:49:10 +01:00
2015-07-23 17:37:53 -07:00
2015-07-23 18:27:41 -07:00
2015-07-23 18:27:41 -07:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-07-09 17:29:38 -07:00
2014-12-14 16:10:09 -08:00
2015-04-28 14:26:21 +02:00
2015-07-23 18:05:00 -07:00
2014-10-20 16:21:45 +02:00
2014-10-20 16:21:45 +02:00
2015-05-10 19:10:08 +02:00
2014-06-19 13:04:52 -07:00