Re: [linux-usb-devel] isp116x sw reset

2005-01-07 Thread Ian Campbell
On Fri, 2005-01-07 at 14:13 +0200, Olav Kongas wrote: > Here comes an updated sw reset code. Thanks, works for me here. Ian. -- Ian Campbell, Senior Design Engineer Web: http://www.arcom.com Arcom, Clifton Road,Direct: +44 (0)1223 403

[linux-usb-devel] isp116x sw reset

2005-01-07 Thread Olav Kongas
Here comes an updated sw reset code. The previous one accessed registers between spin_{lock,unlock}_irq() pair, which was a bug if called from isp116x_stop() with irqs disabled. I also moved the mdelay(1) before the test in the loop. On one of my boards, the reset caused trouble while it was clai