]> git.sur5r.net Git - u-boot/commit
drivers/usb : Define usb control register mask for w1c bits
authorNikhil Badola <nikhil.badola@freescale.com>
Thu, 8 May 2014 11:35:26 +0000 (17:05 +0530)
committerYork Sun <yorksun@freescale.com>
Fri, 16 May 2014 21:24:27 +0000 (16:24 -0500)
commit15231f6dd14b592e2bdef33f6aea1ca1d88fd1bf
tree488c030892b4f40ab9a0d48bfc9731954f931336
parent9c3fdd883a8c9aa32b52abf8ccc180bd4929826f
drivers/usb : Define usb control register mask for w1c bits

Define and use CONTROL_REGISTER_W1C_MASK to make sure that
w1c bits of usb control register do not get reset while
writing any other bit

Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com>
Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/usb/host/ehci-fsl.c
include/usb/ehci-fsl.h