From: Juuso Oikarinen Date: Wed, 28 Apr 2010 06:49:59 +0000 (+0300) Subject: wl1271: Improve command polling X-Git-Tag: v2.6.35-rc1~473^2~167^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16092b5cccd6f3a8d1957ca004c97947e07018db;p=pandora-kernel.git wl1271: Improve command polling In testing I noticed that the wl1271 commands fall into two categories. In the first category are "fast" commands, these mostly take only 0 or 1 polls to complete, but occasionally upto 50 (giving a 0.5ms execution time.) In the second category, the command completion takes well more than 0.5ms (from 1.5ms upwards.) This patch fixes command polling such that it is optimal for the fast commands, but also allows sleep for the longer ones. Signed-off-by: Juuso Oikarinen Reviewed-by: Luciano Coelho Signed-off-by: Luciano Coelho Signed-off-by: John W. Linville --- Reading git-diff-tree failed