Skip to contentSkip to conversation

mfd: omap-usb-host: Make TLL mode work again

PATCH Superseded Anand Gadiyar 5 participants 7 messages Aug 18, 2011 – Aug 22, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mfd: omap-usb-host: Make TLL mode work again

This code section seems to have been accidentally copy pasted. It causes incorrect bits to be set up in the TLL_CHANNEL_CONF register and prevents the TLL mode from working correctly.

Cc Keshava Munegowda <[email protected]>
Cc Samuel Ortiz <sameo-VuQAYsv1563Yd54FQh9/[email protected]>

---
Against v3.1-rc2; tested against linux-next as of 20110817 as well.

This probably needs to go to -stable as well. The original code by me worked fine but this was broken during the code reorganization Keshava did.

 drivers/mfd/omap-usb-host.c |    1 -
 1 file changed, 1 deletion(-)
drivers/mfd/omap-usb-host.c +0 -1
Index: linux-2.6/drivers/mfd/omap-usb-host.c
===================================================================
@@ -676,7 +676,6 @@ static void usbhs_omap_tll_init(struct d
 				| OMAP_TLL_CHANNEL_CONF_ULPINOBITSTUFF
 				| OMAP_TLL_CHANNEL_CONF_ULPIDDRMODE);
 
-			reg |= (1 << (i + 1));
 		} else
 			continue;
 

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

#1 lore raw
Quoted 25 lines · Anand Gadiyar

This code section seems to have been accidentally copy pasted. It causes incorrect bits to be set up in the TLL_CHANNEL_CONF register and prevents the TLL mode from working correctly.

Cc Keshava Munegowda <[email protected]>
Cc Samuel Ortiz <[email protected]>

---
Against v3.1-rc2; tested against linux-next as of 20110817 as well.

This probably needs to go to -stable as well. The original code by me worked fine but this was broken during the code reorganization Keshava did.

 drivers/mfd/omap-usb-host.c |    1 -

 1 file changed, 1 deletion(-)

Index: linux-2.6/drivers/mfd/omap-usb-host.c
===================================================================

drivers/mfd/omap-usb-host.c +0 -0
@@ -676,7 +676,6 @@ static void usbhs_omap_tll_init(struct d

                               | OMAP_TLL_CHANNEL_CONF_ULPINOBITSTUFF | OMAP_TLL_CHANNEL_CONF_ULPIDDRMODE);

Quoted 3 lines

-                       reg |= (1 << (i + 1));
               } else
                       continue;

Samuel Ortiz and balbi
please ack this patch

I am going to re-base runtime pm patches on top of this patch.

Regards
keshava

Acked-by
#2 lore raw

HI,

Quoted 8 lines · Keshava
Quoted 7 lines · Anand Gadiyar

This code section seems to have been accidentally copy pasted. It causes incorrect bits to be set up in the TLL_CHANNEL_CONF register and prevents the TLL mode from working correctly.

Cc Keshava Munegowda <[email protected]>
Cc Samuel Ortiz <[email protected]>

Sam, you can apply this one:

But I think it needs to be resent with Cc: [email protected]

Signature · 1 line
balbi
#3 lore raw
Quoted 12 lines · Felipe

HI,

Quoted 8 lines · Keshava
Quoted 7 lines · Anand Gadiyar

This code section seems to have been accidentally copy pasted. It causes incorrect bits to be set up in the TLL_CHANNEL_CONF register and prevents the TLL mode from working correctly.

Cc Keshava Munegowda <[email protected]>
Cc Samuel Ortiz <[email protected]>
Quoted 5 lines

Sam, you can apply this one:

But I think it needs to be resent with Cc: [email protected]

I'm trying to avoid "Cc: [email protected]" since RMK complained about this on the Linux ARM kernel list. [1]

- Anand

[1] http://marc.info/?l=linux-arm-kernel&m=131107297012093&w=2

#4 lore raw
Quoted 13 lines · Anand
Quoted 12 lines · Felipe

HI,

Quoted 8 lines · Keshava
Quoted 7 lines · Anand Gadiyar

This code section seems to have been accidentally copy pasted. It causes incorrect bits to be set up in the TLL_CHANNEL_CONF register and prevents the TLL mode from working correctly.

Cc Keshava Munegowda <[email protected]>
Cc Samuel Ortiz <[email protected]>
Quoted 8 lines
Quoted 5 lines

Sam, you can apply this one:

But I think it needs to be resent with Cc: [email protected]

I'm trying to avoid "Cc: [email protected]" since RMK complained about this on the Linux ARM kernel list. [1]

Why would he do that? You need to put the Cc: in the signed off by area, and all will be fine. If you just put it in your email, you will get an automated email from me telling you to go read Documentation/stable_kernel_rules.txt which tells you exactly how to do this properly.

greg k-h

#5 lore raw
Quoted 20 lines · Greg KH
Quoted 19 lines · Anand
Quoted 17 lines · Felipe

HI,

Quoted 8 lines · Keshava
Quoted 7 lines · Anand Gadiyar

This code section seems to have been accidentally copy pasted. It causes incorrect bits to be set up in the TLL_CHANNEL_CONF register and prevents the TLL mode from working correctly.

Cc Keshava Munegowda <[email protected]>
Cc Samuel Ortiz <[email protected]>

Sam, you can apply this one:

But I think it needs to be resent with Cc: [email protected]

Quoted 8 lines
Quoted 2 lines

I'm trying to avoid "Cc: [email protected]" since RMK complained about this on the Linux ARM kernel list. [1]

Why would he do that? You need to put the Cc: in the signed off by area, and all will be fine. If you just put it in your email, you will get an automated email from me telling you to go read Documentation/stable_kernel_rules.txt which tells you exactly how to do this properly.

Thanks for clearing that up.

I'm resending with Felipe's ack and CCing [email protected].

- Anand

#6 lore raw
In reply to Anand Gadiyar

Hi Anand,

Quoted 3 lines · Anand Gadiyar

This code section seems to have been accidentally copy pasted. It causes incorrect bits to be set up in the TLL_CHANNEL_CONF register and prevents the TLL mode from working correctly.

Patch applied, with Felipe's ACK and [email protected] Cc'ed.

Cheers,
Samuel.

Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/