Re: [PATCH] USB: ehci-tegra: remove PORT_RWC_BITS when setting USB_PORT_FEAT_ENABLE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 25 Apr 2012, Stephen Warren wrote:

> From: Stephen Warren <swarren@xxxxxxxxxx>
> 
> In the SetPortFeature/USB_PORT_FEAT_ENABLE case, ehci_hub_control()
> would read from status_reg, modify the value, and write the result back to
> status_reg. This would clear any bits in PORT_RWC_BITS that were set in
> the register. Fix this by masking these bits off before the write.
> 
> This is logically the same change as 6d5f89c "USB: EHCI: remove
> PORT_RWC_BITS when clearing USB_PORT_FEAT_ENABLE", but applied to the
> Tegra driver rather than the USB core.
> 
> Signed-off-by: Stephen Warren <swarren@xxxxxxxxxx>

Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux