diff options
Diffstat (limited to 'drivers/usb/host/ohci-pxa27x.c')
-rw-r--r-- | drivers/usb/host/ohci-pxa27x.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/host/ohci-pxa27x.c b/drivers/usb/host/ohci-pxa27x.c index e44dc2cbca24..b5294a9344de 100644 --- a/drivers/usb/host/ohci-pxa27x.c +++ b/drivers/usb/host/ohci-pxa27x.c | |||
@@ -177,9 +177,13 @@ static inline void pxa27x_setup_hc(struct pxa27x_ohci *ohci, | |||
177 | 177 | ||
178 | if (inf->flags & NO_OC_PROTECTION) | 178 | if (inf->flags & NO_OC_PROTECTION) |
179 | uhcrhda |= UHCRHDA_NOCP; | 179 | uhcrhda |= UHCRHDA_NOCP; |
180 | else | ||
181 | uhcrhda &= ~UHCRHDA_NOCP; | ||
180 | 182 | ||
181 | if (inf->flags & OC_MODE_PERPORT) | 183 | if (inf->flags & OC_MODE_PERPORT) |
182 | uhcrhda |= UHCRHDA_OCPM; | 184 | uhcrhda |= UHCRHDA_OCPM; |
185 | else | ||
186 | uhcrhda &= ~UHCRHDA_OCPM; | ||
183 | 187 | ||
184 | if (inf->power_on_delay) { | 188 | if (inf->power_on_delay) { |
185 | uhcrhda &= ~UHCRHDA_POTPGT(0xff); | 189 | uhcrhda &= ~UHCRHDA_POTPGT(0xff); |