commit | 16c0cecbf65eaac470c453168fe0b8d698bfc356 | [log] [tgz] |
---|---|---|
author | Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl> | Wed Jun 05 15:01:12 2024 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Jun 19 13:44:32 2024 -0400 |
tree | 8b3bbab333d9477889bdb35299cc8412c117bfbe | |
parent | 0f167af30f33741f0ef9eadd26c47f5fc2b43189 [diff] |
drivers: usb_device: smartbond: Fix reenable of EP0 When EP0 was disabled EP0 was setup to ignore setup and out packets. In usb_dc_ep_enable() function mask was never cleared. It resulted in USB stop functioning after application disabled endpoint (usb_disable()) and then tried to enable usb again. Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>