summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/portable/sony/cxd56/dcd_cxd56.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/portable/sony/cxd56/dcd_cxd56.c b/src/portable/sony/cxd56/dcd_cxd56.c
index 32eb50a6f..3698e5103 100644
--- a/src/portable/sony/cxd56/dcd_cxd56.c
+++ b/src/portable/sony/cxd56/dcd_cxd56.c
@@ -163,12 +163,16 @@ void dcd_init(uint8_t rhport)
void dcd_int_enable(uint8_t rhport)
{
(void) rhport;
+
+ __asm volatile ("cpsie i" : : : "memory");
}
// Disable device interrupt
void dcd_int_disable(uint8_t rhport)
{
(void) rhport;
+
+ __asm volatile ("cpsid i" : : : "memory");
}
// Receive Set Address request, mcu port must also include status IN response