Messages in this thread | | | Date | Wed, 16 Jan 2013 22:13:02 +0530 | Subject | Re: [PATCH v3] dw_dmac: don't exceed AHB master number in dwc_get_data_width | From | Viresh Kumar <> |
| |
On Wed, Jan 16, 2013 at 8:32 PM, Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote: > There a protection of wrong master parameter. > > In the code I did > if () > m = ... > else if () > m = ... > > Otherwise it would be 0.
That's what. I don't want the else if to be there. Make it else only. We aren't supposed to pass master other than 0 or 1.
| |