Commit 9f003e7
committed
drivers: usb: udc: fix transmission on halted endpoints
Manage endpoint halt state explicitly in set/clear halt functions.
Prevent transmissions on halted endpoints in enqueue function.
Trigger retransmission post-halt clearance if applicable.
Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <[email protected]>1 parent 9925808 commit 9f003e7
1 file changed
Lines changed: 37 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
829 | 829 | | |
830 | 830 | | |
831 | 831 | | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
832 | 840 | | |
833 | 841 | | |
834 | 842 | | |
| |||
847 | 855 | | |
848 | 856 | | |
849 | 857 | | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
850 | 874 | | |
851 | 875 | | |
852 | 876 | | |
| |||
879 | 903 | | |
880 | 904 | | |
881 | 905 | | |
882 | | - | |
883 | | - | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
884 | 919 | | |
885 | 920 | | |
886 | 921 | | |
| |||
0 commit comments