Tomoya MORINAGA
ddb289316d
pch_uart: Fix dma channel unallocated issue
...
commit af6d17cdc8 upstream.
This driver anticipates pch_uart_verify_port() is not called
during installation.
However, actually pch_uart_verify_port() is called during
installation.
As a result, memory access violation occurs like below.
0. initial value: use_dma=0
1. starup()
- dma channel is not allocated because use_dma=0
2. pch_uart_verify_port()
- Set use_dma=1
3. UART processing acts DMA mode because use_dma=1
- memory access violation occurs!
This patch fixes the issue.
Solution:
Whenever pch_uart_verify_port() is called and then
dma channel is not allocated, the channel should be allocated.
Signed-off-by: Tomoya MORINAGA <tomoya.rohm@gmail.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2012-04-27 09:51:07 -07:00
..
2011-04-19 16:33:36 -07:00
2012-02-03 09:19:00 -08:00
2011-04-19 16:33:36 -07:00
2011-01-13 12:10:18 -08:00
2011-04-19 16:33:36 -07:00
2011-01-13 12:10:18 -08:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-01-13 12:10:18 -08:00
2011-01-13 12:10:18 -08:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2012-04-22 16:21:44 -07:00
2011-10-03 11:39:48 -07:00
2011-10-03 11:39:48 -07:00
2011-05-19 16:51:01 -07:00
2011-04-19 16:33:36 -07:00
2011-05-25 08:39:03 -07:00
2011-02-03 14:16:49 -08:00
2011-02-24 11:36:31 -08:00
2011-03-16 17:28:10 -07:00
2012-04-22 16:21:23 -07:00
2011-04-19 16:33:36 -07:00
2012-04-22 16:21:41 -07:00
2011-03-30 04:28:54 -07:00
2011-01-13 12:10:18 -08:00
2012-01-12 11:35:07 -08:00
2011-06-16 12:01:58 -07:00
2011-02-03 14:44:54 -08:00
2011-04-26 10:24:37 +02:00
2011-01-13 12:10:18 -08:00
2012-04-27 09:51:05 -07:00
2011-11-11 09:35:11 -08:00
2011-01-13 12:10:18 -08:00
2011-01-13 12:10:18 -08:00
2011-01-13 12:10:18 -08:00
2011-03-31 11:26:23 -03:00
2011-01-13 12:10:18 -08:00
2011-04-19 16:33:37 -07:00
2011-02-17 11:16:15 -08:00
2011-05-23 12:23:20 -07:00
2011-01-13 12:10:18 -08:00
2011-01-13 12:10:18 -08:00
2011-03-31 11:26:23 -03:00
2011-01-13 12:10:18 -08:00
2011-11-26 09:09:57 -08:00
2011-03-25 16:37:30 -05:00
2011-05-19 09:55:43 +01:00
2011-01-13 12:10:18 -08:00
2011-05-26 17:12:33 -07:00
2011-01-13 12:10:18 -08:00
2011-05-23 12:23:20 -07:00
2011-02-16 17:48:59 +01:00
2011-10-03 11:39:49 -07:00
2011-10-03 11:39:49 -07:00
2011-03-31 11:26:23 -03:00
2011-01-13 12:10:18 -08:00
2011-04-26 10:24:37 +02:00
2011-02-28 13:22:46 -07:00
2011-01-13 12:10:18 -08:00
2011-10-03 11:39:49 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-01-13 12:10:18 -08:00
2011-02-15 18:35:42 +01:00
2011-04-19 16:33:36 -07:00
2011-01-13 12:10:18 -08:00
2011-05-18 12:32:23 -06:00
2011-10-03 11:39:48 -07:00
2012-04-27 09:51:07 -07:00
2011-04-19 16:33:36 -07:00
2011-01-13 12:10:18 -08:00
2011-01-13 12:10:18 -08:00
2011-11-11 09:35:15 -08:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-06-07 09:25:34 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2011-01-13 12:10:18 -08:00
2011-11-11 09:35:15 -08:00
2011-05-06 07:46:22 +02:00
2011-04-19 16:33:36 -07:00
2011-04-19 16:33:36 -07:00
2012-04-02 09:27:22 -07:00
2011-05-23 12:41:37 +09:00
2011-03-31 11:26:23 -03:00
2011-01-13 12:10:18 -08:00
2011-01-13 12:10:18 -08:00
2011-02-28 13:22:46 -07:00
2011-02-28 13:22:46 -07:00
2011-01-13 12:10:18 -08:00
2011-02-28 13:22:46 -07:00
2011-03-31 11:26:23 -03:00
2011-01-13 12:10:18 -08:00
2011-01-13 12:10:18 -08:00
2011-01-13 12:10:18 -08:00
2011-02-28 13:22:43 -07:00
2011-03-18 06:31:43 -07:00
2011-01-13 12:10:18 -08:00
2011-04-19 16:33:36 -07:00
2011-05-03 10:26:39 -07:00
2011-01-13 12:10:18 -08:00
2011-01-13 12:10:18 -08:00