diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2013-01-17 12:03:01 +0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-01-21 08:49:21 +0400 |
commit | 5be10f349bc0a2f3dd2ab6417ffe29746403984c (patch) | |
tree | 47da236d7cb05c6a7288313c5c0cfc803119de49 /kernel/groups.c | |
parent | f8122a82d2eae8ef42de48829deed0ca9d9e1f17 (diff) | |
download | linux-5be10f349bc0a2f3dd2ab6417ffe29746403984c.tar.xz |
dw_dmac: don't exceed AHB master number in dwc_get_data_width
The driver assumes that hardware has two AHB masters which might not be always
true. In such cases we must not exceed number of the AHB masters present in the
hardware. In the proposed scheme in this patch, we would choose the master with
highest possible number whenever we exceed max AHB masters.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'kernel/groups.c')
0 files changed, 0 insertions, 0 deletions