Hi all,
on my am335x board, moving from kernel 4.6.0.8 to 4.6.0.11, an issue rose up:
in host mode, with DMA enabled and Soc v. 2.1 the usb_bulk_read operation of
512 bytes of data fails with timeout error.
The issue is related to the patches:
usb: musb: cppi41: enable the generic rndis mode based on soc revision (2d87d46221d2772fe6305c7b908077925fe4cdd8)
and
usb: musb: cppi41: rxdma generic configuration for both host and device (dcfe81a8e7fd0dacacdfe2f59b08cde18c9a15cd)
Taking a look into the code, in host+dma mode, with packets multiple of 64 bytes,
the USB_GENERIC_RNDIS_MODE is set.
If I force USB_TRANSPARENT_MODE the issue is sorted out.
My questions are:
- why forcing USB_GENERIC_RNDIS_MODE on host/DMA rx operations?
- should I expect some side-effects by removing the patches?
Regards,
Andrea