Re: [PATCH] USB: musb: fix Blackfin building after power updates

From: Mike Frysinger
Date: Sun May 23 2010 - 04:50:53 EST

On Sun, May 23, 2010 at 04:42, Sergei Shtylyov wrote:
> Mike Frysinger wrote:
>> The new MUSB power code needs musb_read_txhubport() to return a value (so
>> stub it as 0 like the other Blackfin hub funcs). ÂIt also needs new helper
>> functions for saving/restoring context,
> Â No, it doesn't. It was an erratic patch that caused these functions to be
> needed outside OMAPs. I've already submitted a patch fixing this, see:

thanks ... i'll grab whatever gets merged and repost on top of that.

>> so change the apparently unused
>> musb_platform_{suspend,resume} to musb_platform_{save,restore}_context in
>> the Blackfin code.
> Â I don't see where you're "changing" them -- and no wonder as I have
> deleted these two unused functions.

the patch was against 2.6.34, but when updating to latest git, the
related changes were dropped. but git automerging doesnt fix
changelogs for you :p.
>> Â-static inline void Âmusb_read_txhubport(void __iomem *mbase, u8 epnum)
>> +static inline u8 musb_read_txhubport(void __iomem *mbase, u8 epnum)
>> Â{
>> + Â Â Â return 0;
>> Â}
>> Â#endif /* CONFIG_BLACKFIN */
> Â Besides, this actually should have been two patches...

it was addressing the same issue: new power code breaks on Blackfin systems
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at