diff options
Diffstat (limited to 'firmware/target/arm/imx31/mc13783-imx31.c')
-rw-r--r-- | firmware/target/arm/imx31/mc13783-imx31.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/imx31/mc13783-imx31.c b/firmware/target/arm/imx31/mc13783-imx31.c index 6e982af3d3..b236dcd2ab 100644 --- a/firmware/target/arm/imx31/mc13783-imx31.c +++ b/firmware/target/arm/imx31/mc13783-imx31.c | |||
@@ -106,7 +106,7 @@ static void mc13783_interrupt_thread(void) | |||
106 | * acknowledged. Reenable interrupt and if anything was still | 106 | * acknowledged. Reenable interrupt and if anything was still |
107 | * pending or became pending again, another signal will be | 107 | * pending or became pending again, another signal will be |
108 | * generated. */ | 108 | * generated. */ |
109 | imx31_regset32(&MC13783_GPIO_IMR, 1ul << MC13783_GPIO_LINE); | 109 | bitset32(&MC13783_GPIO_IMR, 1ul << MC13783_GPIO_LINE); |
110 | 110 | ||
111 | event = mc13783_events; | 111 | event = mc13783_events; |
112 | event_last = event + MC13783_NUM_EVENTS; | 112 | event_last = event + MC13783_NUM_EVENTS; |
@@ -138,7 +138,7 @@ static void mc13783_interrupt_thread(void) | |||
138 | void mc13783_event(void) | 138 | void mc13783_event(void) |
139 | { | 139 | { |
140 | /* Mask the interrupt (unmasked when PMIC thread services it). */ | 140 | /* Mask the interrupt (unmasked when PMIC thread services it). */ |
141 | imx31_regclr32(&MC13783_GPIO_IMR, 1ul << MC13783_GPIO_LINE); | 141 | bitclr32(&MC13783_GPIO_IMR, 1ul << MC13783_GPIO_LINE); |
142 | MC13783_GPIO_ISR = (1ul << MC13783_GPIO_LINE); | 142 | MC13783_GPIO_ISR = (1ul << MC13783_GPIO_LINE); |
143 | wakeup_signal(&mc13783_svc_wake); | 143 | wakeup_signal(&mc13783_svc_wake); |
144 | } | 144 | } |