Robert Baldyga
05aa1a77dc
dmaengine: fix balance of privatecnt inc/dec operations
...
This patch increments privatecnt value and set DMA_PRIVATE in device
caps in dma_request_slave_channel() function. This is needed to keep
privatecnt increment/decrement balance.
As function dma_release_channel() decrements privatecnt counter, we need
to increment it when channel is requested. Otherwise privatecnt drops
into negatives after few dma_release_channel() calls.
Reported-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
2015-08-17 22:47:43 +05:30
..
2015-07-28 16:29:08 +02:00
2015-07-24 16:54:59 -07:00
2015-08-12 09:06:39 -07:00
2015-08-14 15:56:32 -07:00
2015-07-14 22:54:55 +02:00
2015-06-26 11:54:29 -07:00
2015-08-03 10:53:58 -07:00
2015-08-14 16:10:04 -07:00
2015-08-08 10:50:08 +02:00
2015-08-03 09:24:59 +02:00
2015-07-09 22:59:49 +02:00
2015-07-23 18:09:18 +08:00
2015-08-17 22:47:43 +05:30
2015-08-13 06:02:19 +02:00
2015-07-31 15:18:41 +09:00
2015-07-30 18:07:11 +01:00
2015-07-18 10:27:12 -07:00
2015-08-14 09:50:37 +10:00
2015-08-10 15:16:48 -07:00
2015-07-02 10:25:22 -07:00
2015-08-05 08:31:59 -07:00
2015-07-01 16:15:05 +03:00
2015-08-01 12:11:58 +02:00
2015-07-01 10:49:25 -07:00
2015-07-19 14:54:45 +01:00
2015-07-29 09:54:40 -07:00
2015-08-09 09:38:42 +02:00
2015-07-31 15:15:41 +02:00
2015-08-03 09:25:12 +02:00
2015-07-15 17:24:45 -07:00
2015-07-01 19:09:11 -07:00
2015-06-22 17:59:09 -07:00
2015-07-23 20:00:35 +10:00
2015-07-02 10:36:29 -07:00
2015-08-12 11:27:29 -04:00
2015-07-21 09:42:54 +02:00
2015-08-12 01:43:49 -07:00
2015-06-30 19:44:57 -07:00
2015-08-10 10:48:11 -07:00
2015-08-03 14:51:30 -07:00
2015-07-24 10:18:39 +02:00
2015-07-01 10:49:25 -07:00
2015-08-13 10:46:39 -07:00
2015-06-26 14:51:15 -07:00
2015-08-09 16:32:22 -04:00
2015-07-25 09:57:56 -07:00
2015-07-27 08:24:39 -05:00
2015-07-25 12:48:05 -07:00
2015-07-01 15:19:35 -07:00
2015-07-02 10:25:22 -07:00
2015-08-01 15:52:58 +05:30
2015-07-21 15:27:27 -07:00
2015-08-10 10:48:11 -07:00
2015-07-06 23:52:21 +02:00
2015-07-02 10:42:13 -07:00
2015-06-23 13:32:38 -07:00
2015-06-23 14:08:54 -07:00
2015-07-24 16:19:25 +01:00
2015-06-18 11:44:41 +03:00
2015-07-18 00:42:31 +02:00
2015-07-23 13:07:04 -07:00
2015-08-15 13:54:53 -07:00
2015-07-01 15:19:35 -07:00
2015-07-02 14:40:49 -07:00
2015-07-24 16:19:50 +01:00
2015-08-04 22:13:25 -07:00
2015-07-24 14:19:44 -07:00
2015-08-03 23:11:25 +08:00
2015-07-23 18:08:29 -07:00
2015-08-03 14:41:48 -07:00
2015-07-24 15:14:04 -06:00
2015-07-27 18:05:05 +03:00
2015-08-10 17:20:32 +03:00
2015-08-06 10:40:35 +03:00
2015-07-17 16:39:53 -07:00
2015-08-13 13:36:22 -07:00
2015-06-24 21:24:10 -04:00
2015-06-29 10:34:42 -07:00