commit | 5f86288fc54865164e0439ea5d8b64d4ec1ad40e | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Thu Nov 20 15:07:36 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 26 15:39:17 2014 -0800 |
tree | b4d0c47321203ec168773389813016ce217a2f0f | |
parent | 45c311c4384c4e50881b18928edf5d0d2ea0b640 [diff] |
staging: comedi: ni_labpc_common: use comedi_timeout() when writing to eeprom Use the comedi_timeout() helper to wait for the eeprom to be ready to accept writes and remove the timeout loop in labpc_eeprom_write(). Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>