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-03-18 22:13:14 +05:30
2015-07-17 16:39:53 -07:00
2015-06-02 18:33:08 +05:30
2015-04-24 09:49:37 -07:00
2014-12-22 12:28:59 +05:30
2015-03-16 22:28:15 +05:30
2015-06-29 09:44:45 -07:00
2015-03-17 16:23:21 +05:30
2015-02-05 15:09:25 +01:00
2015-05-08 14:29:32 +05:30
2015-07-31 20:33:42 +05:30
2015-07-31 20:33:42 +05:30
2015-07-31 20:33:42 +05:30
2015-03-30 23:17:08 +05:30
2013-02-26 09:24:48 -08:00
2015-01-18 20:01:36 +05:30
2013-01-07 17:36:37 +01:00
2015-04-11 21:12:58 +05:30
2015-04-24 09:49:37 -07:00
2015-04-01 08:43:49 +05:30
2015-08-17 22:47:43 +05:30
2012-03-13 11:37:22 +05:30
2015-05-28 11:32:10 +09:30
2015-05-06 22:27:01 +02:00
2015-05-04 16:38:55 +05:30
2015-04-02 16:11:35 +05:30
2015-04-02 16:10:27 +05:30
2015-06-25 09:22:32 +05:30
2015-01-13 23:58:08 +05:30
2015-01-13 23:58:08 +05:30
2015-03-18 22:44:58 +05:30
2015-05-04 16:38:55 +05:30
2015-05-04 16:38:55 +05:30
2015-03-16 22:28:15 +05:30
2015-03-18 22:46:19 +05:30
2015-06-25 09:21:58 +05:30
2015-06-25 09:21:58 +05:30
2015-06-03 12:02:00 +02:00
2014-07-12 09:57:42 -07:00
2015-04-24 09:49:37 -07:00
2015-06-30 19:45:01 -07:00
2015-03-30 23:17:08 +05:30
2015-03-18 22:13:14 +05:30
2015-07-31 20:33:43 +05:30
2015-06-10 22:18:31 +05:30
2015-05-04 16:38:55 +05:30
2015-05-04 16:38:55 +05:30
2015-05-09 17:11:25 +05:30
2015-06-25 09:21:43 +05:30
2015-04-17 23:41:46 +05:30
2015-07-07 09:30:16 +05:30
2015-05-29 14:42:48 +05:30
2015-04-24 09:49:37 -07:00
2015-05-04 16:38:55 +05:30
2015-04-17 23:24:35 +05:30
2015-06-08 10:26:58 +05:30
2013-06-04 11:12:10 +02:00
2013-05-23 21:13:19 +02:00
2015-04-24 09:49:37 -07:00
2015-05-08 14:55:31 +05:30
2015-01-14 00:00:30 +05:30
2015-05-14 20:49:25 +05:30
2014-12-22 12:33:22 +05:30
2014-07-15 22:14:30 +05:30
2014-12-22 12:33:22 +05:30
2014-11-24 22:46:44 +01:00
2015-07-31 20:33:43 +05:30
2015-07-31 20:33:43 +05:30
2015-07-31 20:33:43 +05:30