Re: [PATCH] USB: musb: fix build error introduced by isoc change
From: Felipe Balbi
Date: Mon Mar 08 2010 - 13:34:51 EST
On Mon, Mar 08, 2010 at 10:01:45PM +0530, Gadiyar, Anand wrote:
> Mike Frysinger wrote:
> >
> > From: Sonic Zhang <sonic.zhang@xxxxxxxxxx>
> >
> > The recent commit "usb: musb: Fix for isochronous IN transfer" (f82a689fa)
> > seems to have been against an older kernel version. It uses the old style
> > naming of variables. Unfortunately, this breaks building for most MUSB
> > users out there since "bDesiredMode" has been renamed to "desired_mode".
> >
>
> Looks like this code is under a "#ifdef USE_MODE1" check; that's why
> we did not find this during regular builds. Felipe's upcoming patches
> would make this code redundant anyway.
>
> Till then, we might as well fix it.
yes, it was my bad. I should have reviewed the code more carefully. We
will be testing the mode1 support on DaVinci during this and the next
week and when we get it working, we will publish the mode1 dma changes
again which will completely change this code.
> > Signed-off-by: Sonic Zhang <sonic.zhang@xxxxxxxxxx>
> > Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
>
> Acked-by: Anand Gadiyar <gadiyar@xxxxxx>
Acked-by: Felipe Balbi <felipe.balbi@xxxxxxxxx>
--
balbi
--
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/