Hi, goda-san, Thank you for your patch. Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx> Best regards, Yoshihiro Shimoda 2011/01/31 15:49, Yusuke Goda wrote: > Signed-off-by: Yusuke Goda <yusuke.goda.sx@xxxxxxxxxxx> > --- > drivers/usb/gadget/r8a66597-udc.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/usb/gadget/r8a66597-udc.c b/drivers/usb/gadget/r8a66597-udc.c > index 20d43da..0151185 100644 > --- a/drivers/usb/gadget/r8a66597-udc.c > +++ b/drivers/usb/gadget/r8a66597-udc.c > @@ -258,7 +258,7 @@ static int pipe_buffer_setting(struct r8a66597 *r8a66597, > break; > case R8A66597_BULK: > /* isochronous pipes may be used as bulk pipes */ > - if (info->pipe > R8A66597_BASE_PIPENUM_BULK) > + if (info->pipe >= R8A66597_BASE_PIPENUM_BULK) > bufnum = info->pipe - R8A66597_BASE_PIPENUM_BULK; > else > bufnum = info->pipe - R8A66597_BASE_PIPENUM_ISOC; -- Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html