Michael Burian wrote: > Random thoughts: > > I'm not sure if this is the right way > nor am I ;-) > If the above code works we might be able to completely remove the > while(1) and "if(25" loop. > Of course, it was a dirty patch which allowed to unlock the situation on a friday evening before leaving for holidays ;-) Also, the 25 value is a pure random value. > I doubt that something that fails after mdelay(100) will work after > (mdelay(100) + time_needed_to_execute_phy_rd_25_times), as > time_needed_to_execute_phy_rd_25_times should be next to zero, right? > yes, a mdelay should be added in the while loop. Eric