Skip to content

Commit

Permalink
msm_shared: dwc: Stop device in dwc_device_reset
Browse files Browse the repository at this point in the history
  • Loading branch information
FieryFlames authored and TravMurav committed Feb 9, 2025
1 parent 487fb49 commit 2b78181
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions platform/msm_shared/usb30_dwc_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ void dwc_device_reset(dwc_dev_t *dev)
{
/* start reset */
REG_WRITE_FIELD(dev, DCTL, CSFTRST, 1);
dwc_device_run(dev, 0);

/* wait until done */
while(REG_READ_FIELD(dev, DCTL, CSFTRST));
Expand Down

0 comments on commit 2b78181

Please sign in to comment.