diff options
Diffstat (limited to 'firmware/target/coldfire/iriver/h100/power-h100.c')
-rw-r--r-- | firmware/target/coldfire/iriver/h100/power-h100.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/coldfire/iriver/h100/power-h100.c b/firmware/target/coldfire/iriver/h100/power-h100.c index 75c8bea9dd..ce1c350802 100644 --- a/firmware/target/coldfire/iriver/h100/power-h100.c +++ b/firmware/target/coldfire/iriver/h100/power-h100.c | |||
@@ -119,7 +119,7 @@ bool ide_powered(void) | |||
119 | 119 | ||
120 | void power_off(void) | 120 | void power_off(void) |
121 | { | 121 | { |
122 | set_irq_level(HIGHEST_IRQ_LEVEL); | 122 | set_irq_level(DISABLE_INTERRUPTS); |
123 | and_l(~0x00080000, &GPIO1_OUT); | 123 | and_l(~0x00080000, &GPIO1_OUT); |
124 | asm("halt"); | 124 | asm("halt"); |
125 | while(1) | 125 | while(1) |