From: Andy Shevchenko Date: Thu, 17 Jan 2013 08:03:01 +0000 (+0200) Subject: dw_dmac: don't exceed AHB master number in dwc_get_data_width X-Git-Tag: v3.9-rc1~80^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5be10f349bc0a2f3dd2ab6417ffe29746403984c;p=pandora-kernel.git 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 Acked-by: Viresh Kumar Signed-off-by: Vinod Koul --- Reading git-diff-tree failed