fix copy-paste errors for d356ad633f
This commit is contained in:
parent
3513c53a09
commit
5e5fcd8076
@ -1341,7 +1341,7 @@ static void efm32_epin_request(struct efm32_usbdev_s *priv,
|
||||
* request. If not, raise an assertion here.
|
||||
*/
|
||||
|
||||
regval = emf32_putreg(regval, EMF32_USB_DIEPTXF(privep->epphy));
|
||||
regval = efm32_getreg(EFM32_USB_DIEPTXF(privep->epphy));
|
||||
regval &= _USB_DIEPTXF1_INEPNTXFDEP_MASK;
|
||||
regval >>= _USB_DIEPTXF1_INEPNTXFDEP_SHIFT;
|
||||
uerr("EP%" PRId8 " TXLEN=%" PRId32 " nwords=%d\n",
|
||||
|
@ -1383,7 +1383,7 @@ static void stm32_epin_request(struct stm32_usbdev_s *priv,
|
||||
* request. If not, raise an assertion here.
|
||||
*/
|
||||
|
||||
regval = stm32_putreg(regval, STM32_OTGFS_DIEPTXF(privep->epphy));
|
||||
regval = stm32_getreg(STM32_OTGFS_DIEPTXF(privep->epphy));
|
||||
regval &= OTGFS_DIEPTXF_INEPTXFD_MASK;
|
||||
regval >>= OTGFS_DIEPTXF_INEPTXFD_SHIFT;
|
||||
uerr("EP%" PRId8 " TXLEN=%" PRId32 " nwords=%d\n",
|
||||
|
@ -1333,7 +1333,7 @@ static void stm32_epin_request(struct stm32_usbdev_s *priv,
|
||||
* request. If not, raise an assertion here.
|
||||
*/
|
||||
|
||||
regval = stm32_putreg(regval, STM32_OTGHS_DIEPTXF(privep->epphy));
|
||||
regval = stm32_getreg(STM32_OTGHS_DIEPTXF(privep->epphy));
|
||||
regval &= OTGHS_DIEPTXF_INEPTXFD_MASK;
|
||||
regval >>= OTGHS_DIEPTXF_INEPTXFD_SHIFT;
|
||||
uerr("EP%" PRId8 " TXLEN=%" PRId32 " nwords=%d\n",
|
||||
|
@ -1443,7 +1443,7 @@ static void stm32_epin_request(struct stm32_usbdev_s *priv,
|
||||
* request. If not, raise an assertion here.
|
||||
*/
|
||||
|
||||
regval = stm32_putreg(regval, STM32_OTG_DIEPTXF(privep->epphy));
|
||||
regval = stm32_getreg(STM32_OTG_DIEPTXF(privep->epphy));
|
||||
regval &= OTG_DIEPTXF_INEPTXFD_MASK;
|
||||
regval >>= OTG_DIEPTXF_INEPTXFD_SHIFT;
|
||||
uerr("EP%" PRId8 " TXLEN=%" PRId32 " nwords=%d\n",
|
||||
|
@ -1406,7 +1406,7 @@ static void stm32_epin_request(struct stm32_usbdev_s *priv,
|
||||
* request. If not, raise an assertion here.
|
||||
*/
|
||||
|
||||
regval = stm32_putreg(regval, STM32_OTG_DIEPTXF(privep->epphy));
|
||||
regval = stm32_getreg(STM32_OTG_DIEPTXF(privep->epphy));
|
||||
regval &= OTG_DIEPTXF_INEPTXFD_MASK;
|
||||
regval >>= OTG_DIEPTXF_INEPTXFD_SHIFT;
|
||||
uerr("EP%" PRId8 " TXLEN=%" PRId32 " nwords=%d\n",
|
||||
|
@ -1443,8 +1443,7 @@ static void stm32l4_epin_request(struct stm32l4_usbdev_s *priv,
|
||||
* request. If not, raise an assertion here.
|
||||
*/
|
||||
|
||||
regval = stm32l4_putreg(regval,
|
||||
STM32L4_OTG_DIEPTXF(privep->epphy));
|
||||
regval = stm32l4_getreg(STM32L4_OTG_DIEPTXF(privep->epphy));
|
||||
regval &= OTGFS_DIEPTXF_INEPTXFD_MASK;
|
||||
regval >>= OTGFS_DIEPTXF_INEPTXFD_SHIFT;
|
||||
uerr("EP%" PRId8 " TXLEN=%" PRId32 " nwords=%d\n",
|
||||
|
Loading…
Reference in New Issue
Block a user