8 Jul
2015
8 Jul
'15
8:36 p.m.
On Fri, Jul 03, 2015 at 04:04:02PM +0530, Vinod Koul wrote:
- for (time = 0; time < timeout; time++) {
if ((sst_dsp_shim_read_unlocked(ctx, offset) & mask) == expected_value)
break;
mdelay(1);
- }
mdelay() not msleep()? If we're waiting for multiple miliseconds that could be lots of busy waiting.