lkml.org 
[lkml]   [2013]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3] dw_dmac: don't exceed AHB master number in dwc_get_data_width
From
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.


\
 
 \ /
  Last update: 2013-01-16 18:43    [W:0.240 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site