- 论坛徽章:
- 0
|
本人已经解决此问题,QQ: 22538063
很多人问,直接写在这里吧.
修改文件 /drivers/usb/gadget/s3c2410_udc.c
845 845 u32 ep_csr1;
846 846 u32 idx;
847 847
848 handle_ep_again: \\add this line
848 849 if (likely (!list_empty(&ep->queue)))
849 850 req = list_entry(ep->queue.next,
850 851 struct s3c2410_request, queue);
… …
884 885
885 886 if ((ep_csr1 & S3C2410_UDC_OCSR1_PKTRDY) && req) {
886 887 s3c2410_udc_read_fifo(ep,req);
888 if (s3c2410_udc_fifo_count_out()) \\ add this line
889 goto handle_ep_again; \\add this line
887 890 }
888 891 }
889 892 }
[ 本帖最后由 xudaren 于 2009-7-6 09:33 编辑 ] |
|