Re: [PATCH v3] dw_dmac: don't exceed AHB master number in dwc_get_data_width

From: Viresh Kumar
Date: Wed Jan 16 2013 - 11:42:51 EST


On Wed, Jan 16, 2013 at 8:32 PM, Andy Shevchenko
<andriy.shevchenko@xxxxxxxxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/