commit | d8ded50f8b26a224df48f9f93e49440c6a39b77f | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Tue Jan 13 19:08:14 2015 +0200 |
committer | Vinod Koul <vinod.koul@intel.com> | Wed Feb 04 22:39:44 2015 -0800 |
tree | 7c7620107180b0a2c3ea77770ef8fb9bccfa8341 | |
parent | cfd8fef322305bbe9955817464f0d2054ce545c0 [diff] |
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>