Thread (32 messages) 32 messages, 5 authors, 2012-04-19

[PATCH v2 1/8] ohci-nxp: Driver cleanup

From: Thierry Reding <hidden>
Date: 2012-04-18 04:56:12
Also in: linux-input, lkml

* Roland Stigge wrote:
quoted hunk ↗ jump to hunk
--- linux-2.6.orig/drivers/usb/host/ohci-nxp.c
+++ linux-2.6/drivers/usb/host/ohci-nxp.c
[...]
quoted hunk ↗ jump to hunk
@@ -220,7 +220,7 @@ static void isp1301_configure_lpc32xx(vo
 		ISP1301_I2C_INTERRUPT_RISING | ISP1301_I2C_REG_CLEAR_ADDR, ~0);
 
 	/* Enable usb_need_clk clock after transceiver is initialized */
-	__raw_writel((__raw_readl(USB_CTRL) | (1 << 22)), USB_CTRL);
+	__raw_writel((__raw_readl(USB_CTRL) | USB_HOST_NEED_CLK_EN), USB_CTRL);
There's a pair of gratuitous parentheses here. Since you're changing the line
anyway you can just drop them as well.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120418/d5fa2d60/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help