diff options
Diffstat (limited to 'arch/blackfin/mach-bf538/include/mach/cdefBF538.h')
-rw-r--r-- | arch/blackfin/mach-bf538/include/mach/cdefBF538.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/blackfin/mach-bf538/include/mach/cdefBF538.h b/arch/blackfin/mach-bf538/include/mach/cdefBF538.h index 7e469b8d939c..241725bc6988 100644 --- a/arch/blackfin/mach-bf538/include/mach/cdefBF538.h +++ b/arch/blackfin/mach-bf538/include/mach/cdefBF538.h | |||
@@ -2063,7 +2063,7 @@ static __inline__ void bfin_write_PLL_CTL(unsigned int val) | |||
2063 | if (val == bfin_read_PLL_CTL()) | 2063 | if (val == bfin_read_PLL_CTL()) |
2064 | return; | 2064 | return; |
2065 | 2065 | ||
2066 | local_irq_save(flags); | 2066 | local_irq_save_hw(flags); |
2067 | /* Enable the PLL Wakeup bit in SIC IWR */ | 2067 | /* Enable the PLL Wakeup bit in SIC IWR */ |
2068 | iwr0 = bfin_read32(SIC_IWR0); | 2068 | iwr0 = bfin_read32(SIC_IWR0); |
2069 | iwr1 = bfin_read32(SIC_IWR1); | 2069 | iwr1 = bfin_read32(SIC_IWR1); |
@@ -2077,7 +2077,7 @@ static __inline__ void bfin_write_PLL_CTL(unsigned int val) | |||
2077 | 2077 | ||
2078 | bfin_write32(SIC_IWR0, iwr0); | 2078 | bfin_write32(SIC_IWR0, iwr0); |
2079 | bfin_write32(SIC_IWR1, iwr1); | 2079 | bfin_write32(SIC_IWR1, iwr1); |
2080 | local_irq_restore(flags); | 2080 | local_irq_restore_hw(flags); |
2081 | } | 2081 | } |
2082 | 2082 | ||
2083 | /* Writing to VR_CTL initiates a PLL relock sequence. */ | 2083 | /* Writing to VR_CTL initiates a PLL relock sequence. */ |
@@ -2088,7 +2088,7 @@ static __inline__ void bfin_write_VR_CTL(unsigned int val) | |||
2088 | if (val == bfin_read_VR_CTL()) | 2088 | if (val == bfin_read_VR_CTL()) |
2089 | return; | 2089 | return; |
2090 | 2090 | ||
2091 | local_irq_save(flags); | 2091 | local_irq_save_hw(flags); |
2092 | /* Enable the PLL Wakeup bit in SIC IWR */ | 2092 | /* Enable the PLL Wakeup bit in SIC IWR */ |
2093 | iwr0 = bfin_read32(SIC_IWR0); | 2093 | iwr0 = bfin_read32(SIC_IWR0); |
2094 | iwr1 = bfin_read32(SIC_IWR1); | 2094 | iwr1 = bfin_read32(SIC_IWR1); |
@@ -2102,7 +2102,7 @@ static __inline__ void bfin_write_VR_CTL(unsigned int val) | |||
2102 | 2102 | ||
2103 | bfin_write32(SIC_IWR0, iwr0); | 2103 | bfin_write32(SIC_IWR0, iwr0); |
2104 | bfin_write32(SIC_IWR1, iwr1); | 2104 | bfin_write32(SIC_IWR1, iwr1); |
2105 | local_irq_restore(flags); | 2105 | local_irq_restore_hw(flags); |
2106 | } | 2106 | } |
2107 | 2107 | ||
2108 | #endif | 2108 | #endif |