On Fri, Jul 29, 2005 at 05:38:53PM +0800, [EMAIL PROTECTED] wrote:
> Dear Ben,
>
> Thanks a lots! :)
> You really pointed to my problem.
> You saved my lots of time to figure it out.
>
> But about the s3c2410_usb_set_power() function, ...
>
> static void s3c2410_usb_set_power(struct s3c2410_hcd_info *info,
> int port, int to)
> {
> if (info == NULL)
> return;
>
> if (info->power_control != NULL) {
> info->port[port-1].power = to;
> ^^^^^^^^ doesn't it mean, it's 1 based?
> (info->power_control)(port, to);
> ^^^^^^ 1 based or 0 based?
> }
> }
Yeah. it does look like there is a problem with this. I'll
sort it out when i'm more awake.
--
Ben ([EMAIL PROTECTED], http://www.fluff.org/)
'a smiley only costs 4 bytes'
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel