Re: [Linux-zigbee-devel] [PATCH net-next v2 3/5] at86rf230: change reset timings

2014-03-14 Thread Alexander Aring
On Fri, Mar 14, 2014 at 03:18:22AM +0100, Alexander Aring wrote: > While checkpatch another patch I got a: > > "WARNING: msleep < 20ms can sleep for up to 20ms" > > The datasheet of at86rf231 and at86rf212 says a minimum delay for reset > pulse width and spi access latency after reset is 625 nano

[Linux-zigbee-devel] [PATCH net-next v2 3/5] at86rf230: change reset timings

2014-03-13 Thread Alexander Aring
While checkpatch another patch I got a: "WARNING: msleep < 20ms can sleep for up to 20ms" The datasheet of at86rf231 and at86rf212 says a minimum delay for reset pulse width and spi access latency after reset is 625 nanoseconds. This patch removes the 1 milliseconds sleep and replace it with a 1