diff options
Diffstat (limited to 'drivers/pcmcia')
-rw-r--r-- | drivers/pcmcia/Kconfig | 4 | ||||
-rw-r--r-- | drivers/pcmcia/pxa2xx_base.c | 5 | ||||
-rw-r--r-- | drivers/pcmcia/sa11xx_base.c | 2 |
3 files changed, 5 insertions, 6 deletions
diff --git a/drivers/pcmcia/Kconfig b/drivers/pcmcia/Kconfig index d0f5ad306078..c988514eb551 100644 --- a/drivers/pcmcia/Kconfig +++ b/drivers/pcmcia/Kconfig | |||
@@ -157,11 +157,11 @@ config PCMCIA_M8XX | |||
157 | 157 | ||
158 | config PCMCIA_AU1X00 | 158 | config PCMCIA_AU1X00 |
159 | tristate "Au1x00 pcmcia support" | 159 | tristate "Au1x00 pcmcia support" |
160 | depends on SOC_AU1X00 && PCMCIA | 160 | depends on MIPS_ALCHEMY && PCMCIA |
161 | 161 | ||
162 | config PCMCIA_ALCHEMY_DEVBOARD | 162 | config PCMCIA_ALCHEMY_DEVBOARD |
163 | tristate "Alchemy Db/Pb1xxx PCMCIA socket services" | 163 | tristate "Alchemy Db/Pb1xxx PCMCIA socket services" |
164 | depends on SOC_AU1X00 && PCMCIA | 164 | depends on MIPS_ALCHEMY && PCMCIA |
165 | select 64BIT_PHYS_ADDR | 165 | select 64BIT_PHYS_ADDR |
166 | help | 166 | help |
167 | Enable this driver of you want PCMCIA support on your Alchemy | 167 | Enable this driver of you want PCMCIA support on your Alchemy |
diff --git a/drivers/pcmcia/pxa2xx_base.c b/drivers/pcmcia/pxa2xx_base.c index 66c022579d9b..ae07b4db8a6e 100644 --- a/drivers/pcmcia/pxa2xx_base.c +++ b/drivers/pcmcia/pxa2xx_base.c | |||
@@ -177,7 +177,6 @@ pxa2xx_pcmcia_frequency_change(struct soc_pcmcia_socket *skt, | |||
177 | unsigned long val, | 177 | unsigned long val, |
178 | struct cpufreq_freqs *freqs) | 178 | struct cpufreq_freqs *freqs) |
179 | { | 179 | { |
180 | #warning "it's not clear if this is right since the core CPU (N) clock has no effect on the memory (L) clock" | ||
181 | switch (val) { | 180 | switch (val) { |
182 | case CPUFREQ_PRECHANGE: | 181 | case CPUFREQ_PRECHANGE: |
183 | if (freqs->new > freqs->old) { | 182 | if (freqs->new > freqs->old) { |
@@ -185,7 +184,7 @@ pxa2xx_pcmcia_frequency_change(struct soc_pcmcia_socket *skt, | |||
185 | "pre-updating\n", | 184 | "pre-updating\n", |
186 | freqs->new / 1000, (freqs->new / 100) % 10, | 185 | freqs->new / 1000, (freqs->new / 100) % 10, |
187 | freqs->old / 1000, (freqs->old / 100) % 10); | 186 | freqs->old / 1000, (freqs->old / 100) % 10); |
188 | pxa2xx_pcmcia_set_mcxx(skt, freqs->new); | 187 | pxa2xx_pcmcia_set_timing(skt); |
189 | } | 188 | } |
190 | break; | 189 | break; |
191 | 190 | ||
@@ -195,7 +194,7 @@ pxa2xx_pcmcia_frequency_change(struct soc_pcmcia_socket *skt, | |||
195 | "post-updating\n", | 194 | "post-updating\n", |
196 | freqs->new / 1000, (freqs->new / 100) % 10, | 195 | freqs->new / 1000, (freqs->new / 100) % 10, |
197 | freqs->old / 1000, (freqs->old / 100) % 10); | 196 | freqs->old / 1000, (freqs->old / 100) % 10); |
198 | pxa2xx_pcmcia_set_mcxx(skt, freqs->new); | 197 | pxa2xx_pcmcia_set_timing(skt); |
199 | } | 198 | } |
200 | break; | 199 | break; |
201 | } | 200 | } |
diff --git a/drivers/pcmcia/sa11xx_base.c b/drivers/pcmcia/sa11xx_base.c index fa28d8911b00..0c62fe31a40e 100644 --- a/drivers/pcmcia/sa11xx_base.c +++ b/drivers/pcmcia/sa11xx_base.c | |||
@@ -231,7 +231,7 @@ int sa11xx_drv_pcmcia_probe(struct device *dev, struct pcmcia_low_level *ops, | |||
231 | 231 | ||
232 | sinfo->nskt = nr; | 232 | sinfo->nskt = nr; |
233 | 233 | ||
234 | /* Initiliaze processor specific parameters */ | 234 | /* Initialize processor specific parameters */ |
235 | for (i = 0; i < nr; i++) { | 235 | for (i = 0; i < nr; i++) { |
236 | skt = &sinfo->skt[i]; | 236 | skt = &sinfo->skt[i]; |
237 | 237 | ||