diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/power.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/drivers/power.c b/firmware/drivers/power.c index 5121a4c4f1..88010f5cbb 100644 --- a/firmware/drivers/power.c +++ b/firmware/drivers/power.c | |||
@@ -63,9 +63,10 @@ void charger_enable(bool on) | |||
63 | void ide_power_enable(bool on) | 63 | void ide_power_enable(bool on) |
64 | { | 64 | { |
65 | #ifdef HAVE_ATA_POWER_OFF | 65 | #ifdef HAVE_ATA_POWER_OFF |
66 | PAIOR |= 0x20; /* there's no power driver init, so I have to do that here */ | 66 | PAIOR |= 0x20; /* there's no power driver init, so I have to do that here */ |
67 | PACR2 &= 0xFBFF; | ||
67 | 68 | ||
68 | if(on) | 69 | if(on) |
69 | PADR |= 0x20; | 70 | PADR |= 0x20; |
70 | else | 71 | else |
71 | PADR &= ~0x20; | 72 | PADR &= ~0x20; |