All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <539B3E17.6050607@codethink.co.uk>

diff --git a/a/1.txt b/N1/1.txt
index ef7d7fe..7205628 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -56,14 +56,14 @@ Where can we get this from, it would be nice to test this.
 >> RCAR_USB3_DL_CTRL); +		temp |= RCAR_USB3_DL_CTRL_FW_SET_DATA0; + 
 >> writel(temp, regs + RCAR_USB3_DL_CTRL); + +		for (time = 0; time 
 >> < timeout; time++) { +			val = readl(regs + RCAR_USB3_DL_CTRL);
->> + if ((val & RCAR_USB3_DL_CTRL_FW_SET_DATA0) = 0) +				break; + 
->> udelay(1); +		} +		if (time = timeout) { +			retval = 
+>> + if ((val & RCAR_USB3_DL_CTRL_FW_SET_DATA0) == 0) +				break; + 
+>> udelay(1); +		} +		if (time == timeout) { +			retval = 
 >> -ETIMEDOUT; +			break; +		} +	} + +	temp = readl(regs + 
 >> RCAR_USB3_DL_CTRL); +	temp &= ~RCAR_USB3_DL_CTRL_ENABLE; + 
 >> writel(temp, regs + RCAR_USB3_DL_CTRL); + +	for (time = 0; time
 >> < timeout; time++) { +		val = readl(regs + RCAR_USB3_DL_CTRL); + 
 >> if (val & RCAR_USB3_DL_CTRL_FW_SUCCESS) { +			retval = 0; + 
->> break; +		} +		udelay(1); +	} +	if (time = timeout) +		retval = 
+>> break; +		} +		udelay(1); +	} +	if (time == timeout) +		retval = 
 >> -ETIMEDOUT; + +	release_firmware(fw); + +	return retval; +} +
 >> +/* This function needs to initialize a "phy" of usb before */
 > 
@@ -76,3 +76,7 @@ The rcar phy code should already do this, so I agree.
 -- 
 Ben Dooks				http://www.codethink.co.uk/
 Senior Engineer				Codethink - Providing Genius
+--
+To unsubscribe from this list: send the line "unsubscribe linux-usb" in
+the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
+More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff --git a/a/content_digest b/N1/content_digest
index 35cd569..ab33930 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,9 +1,9 @@
  "ref\0539AEC8F.4030003@renesas.com\0"
  "ref\020140613142525.GE8319@saruman.home\0"
  "ref\020140613142525.GE8319-HgARHv6XitL9zxVx7UNMDg@public.gmane.org\0"
- "From\0Ben Dooks <ben.dooks@codethink.co.uk>\0"
+ "From\0Ben Dooks <ben.dooks-4yDnlxn2s6sWdaTGBSpHTA@public.gmane.org>\0"
  "Subject\0Re: [PATCH v6 1/1] usb: host: xhci-plat: add support for the R-Car H2 and M2 xHCI controllers\0"
- "Date\0Fri, 13 Jun 2014 18:08:23 +0000\0"
+ "Date\0Fri, 13 Jun 2014 19:08:23 +0100\0"
  "To\0balbi-l0cyMroinI0@public.gmane.org"
  " Yoshihiro Shimoda <yoshihiro.shimoda.uh-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>\0"
  "Cc\0mathias.nyman-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org <mathias.nyman-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>"
@@ -75,14 +75,14 @@
  ">> RCAR_USB3_DL_CTRL); +\t\ttemp |= RCAR_USB3_DL_CTRL_FW_SET_DATA0; + \n"
  ">> writel(temp, regs + RCAR_USB3_DL_CTRL); + +\t\tfor (time = 0; time \n"
  ">> < timeout; time++) { +\t\t\tval = readl(regs + RCAR_USB3_DL_CTRL);\n"
- ">> + if ((val & RCAR_USB3_DL_CTRL_FW_SET_DATA0) = 0) +\t\t\t\tbreak; + \n"
- ">> udelay(1); +\t\t} +\t\tif (time = timeout) { +\t\t\tretval = \n"
+ ">> + if ((val & RCAR_USB3_DL_CTRL_FW_SET_DATA0) == 0) +\t\t\t\tbreak; + \n"
+ ">> udelay(1); +\t\t} +\t\tif (time == timeout) { +\t\t\tretval = \n"
  ">> -ETIMEDOUT; +\t\t\tbreak; +\t\t} +\t} + +\ttemp = readl(regs + \n"
  ">> RCAR_USB3_DL_CTRL); +\ttemp &= ~RCAR_USB3_DL_CTRL_ENABLE; + \n"
  ">> writel(temp, regs + RCAR_USB3_DL_CTRL); + +\tfor (time = 0; time\n"
  ">> < timeout; time++) { +\t\tval = readl(regs + RCAR_USB3_DL_CTRL); + \n"
  ">> if (val & RCAR_USB3_DL_CTRL_FW_SUCCESS) { +\t\t\tretval = 0; + \n"
- ">> break; +\t\t} +\t\tudelay(1); +\t} +\tif (time = timeout) +\t\tretval = \n"
+ ">> break; +\t\t} +\t\tudelay(1); +\t} +\tif (time == timeout) +\t\tretval = \n"
  ">> -ETIMEDOUT; + +\trelease_firmware(fw); + +\treturn retval; +} +\n"
  ">> +/* This function needs to initialize a \"phy\" of usb before */\n"
  "> \n"
@@ -94,6 +94,10 @@
  "\n"
  "-- \n"
  "Ben Dooks\t\t\t\thttp://www.codethink.co.uk/\n"
- "Senior Engineer\t\t\t\tCodethink - Providing Genius"
+ "Senior Engineer\t\t\t\tCodethink - Providing Genius\n"
+ "--\n"
+ "To unsubscribe from this list: send the line \"unsubscribe linux-usb\" in\n"
+ "the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\n"
+ More majordomo info at  http://vger.kernel.org/majordomo-info.html
 
-9f77e4b077460ba035389fc38fdc1ad913bc5ce1ca21bcc1b64129026f9b287f
+72d744a93cfa678f75a8d2dacc46f0f4ba6cee33e383721254800b308df568f3

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.