* PIO RX for a packet (or part of it).
*/
static u8 musb_host_packet_rx(struct musb *musb, struct urb *urb,
- u8 epnum, u8 bIsochError)
+ u8 epnum, u8 iso_err)
{
u16 rx_count;
u8 *buf;
int status = 0;
struct usb_iso_packet_descriptor *d;
- if (bIsochError) {
+ if (iso_err) {
status = -EILSEQ;
urb->error_count++;
}
void __iomem *mbase = musb->mregs;
int pipe;
u16 rx_csr, wVal;
- u8 bIsochError = FALSE;
+ u8 iso_err = FALSE;
u8 done = FALSE;
u32 status;
struct dma_channel *dma;
} else {
DBG(4, "RX end %d ISO data error\n", epnum);
/* packet error reported later */
- bIsochError = TRUE;
+ iso_err = TRUE;
}
}
if (!dma) {
done = musb_host_packet_rx(musb, urb,
- epnum, bIsochError);
+ epnum, iso_err);
DBG(6, "read %spacket\n", done ? "last " : "");
}
}