Andy Shevchenko d8ded50f8b dmaengine: dw: define DW_DMA_MAX_NR_MASTERS
Instead of using magic number in the code the patch provides
DW_DMA_MAX_NR_MASTERS constant.

While here, restrict the reading of data width array by amount of the actual
number of AHB masters.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
2015-02-04 22:39:44 -08:00
..
2013-01-07 17:36:37 +01:00
2012-09-01 08:57:12 -07:00
2015-02-04 18:13:32 -08:00
2015-02-04 18:13:32 -08:00
2014-07-12 09:57:42 -07:00
2014-07-12 09:57:42 -07:00