goto error;
                wIndex--;
                temp = ehci_readl(ehci, status_reg);
+               temp &= ~PORT_RWC_BITS;
 
                /*
                 * Even if OWNER is set, so the port is owned by the
                        ehci_writel(ehci, temp & ~PORT_PE, status_reg);
                        break;
                case USB_PORT_FEAT_C_ENABLE:
-                       ehci_writel(ehci, (temp & ~PORT_RWC_BITS) | PORT_PEC,
-                                       status_reg);
+                       ehci_writel(ehci, temp | PORT_PEC, status_reg);
                        break;
                case USB_PORT_FEAT_SUSPEND:
                        if (temp & PORT_RESET)
                                spin_lock_irqsave(&ehci->lock, flags);
                        }
                        /* resume signaling for 20 msec */
-                       temp &= ~(PORT_RWC_BITS | PORT_WAKE_BITS);
+                       temp &= ~PORT_WAKE_BITS;
                        ehci_writel(ehci, temp | PORT_RESUME, status_reg);
                        ehci->reset_done[wIndex] = jiffies
                                        + msecs_to_jiffies(20);
                        break;
                case USB_PORT_FEAT_POWER:
                        if (HCS_PPC (ehci->hcs_params))
-                               ehci_writel(ehci,
-                                         temp & ~(PORT_RWC_BITS | PORT_POWER),
-                                         status_reg);
+                               ehci_writel(ehci, temp & ~PORT_POWER,
+                                               status_reg);
                        break;
                case USB_PORT_FEAT_C_CONNECTION:
                        if (ehci->has_lpm) {
                                temp &= ~PORT_LPM;
                                temp &= ~PORT_DEV_ADDR;
                        }
-                       ehci_writel(ehci, (temp & ~PORT_RWC_BITS) | PORT_CSC,
-                                       status_reg);
+                       ehci_writel(ehci, temp | PORT_CSC, status_reg);
                        break;
                case USB_PORT_FEAT_C_OVER_CURRENT:
-                       ehci_writel(ehci, (temp & ~PORT_RWC_BITS) | PORT_OCC,
-                                       status_reg);
+                       ehci_writel(ehci, temp | PORT_OCC, status_reg);
                        break;
                case USB_PORT_FEAT_C_RESET:
                        /* GetPortStatus clears reset */
 
 
        spin_lock_irqsave(&ehci->lock, flags);
 
-       /*
-        * In ehci_hub_control() for USB_PORT_FEAT_ENABLE clears the other bits
-        * that are write on clear, by writing back the register read value, so
-        * USB_PORT_FEAT_ENABLE is handled by masking the set on clear bits
-        */
-       if (typeReq == ClearPortFeature && wValue == USB_PORT_FEAT_ENABLE) {
-               temp = ehci_readl(ehci, status_reg) & ~PORT_RWC_BITS;
-               ehci_writel(ehci, temp & ~PORT_PE, status_reg);
-               goto done;
-       }
-
-       else if (typeReq == GetPortStatus) {
+       if (typeReq == GetPortStatus) {
                temp = ehci_readl(ehci, status_reg);
                if (tegra->port_resuming && !(temp & PORT_SUSPEND)) {
                        /* Resume completed, re-enable disconnect detection */