Skip to content

Commit

Permalink
iio: adc: mykonos: mykonos: Add some sleep to relax this busy loop.
Browse files Browse the repository at this point in the history
This was reported in issue torvalds#368

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
  • Loading branch information
mhennerich authored and commodo committed May 22, 2019
1 parent ccf4d0f commit f48bbb9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/iio/adc/mykonos/mykonos.c
Original file line number Diff line number Diff line change
Expand Up @@ -16179,6 +16179,9 @@ mykonosErr_t MYKONOS_waitArmCmdStatus(mykonosDevice_t *device, uint8_t opCode, u
{
return MYKONOS_ERR_WAITARMCMDSTATUS_TIMEOUT;
}

CMB_wait_ms(1);

} while (*cmdStatByte & 0x01);

return MYKONOS_ERR_OK;
Expand Down

0 comments on commit f48bbb9

Please sign in to comment.