1. 18 2月, 2014 1 次提交
    • B
      iio: cm36651: Fix read/write integration time function. · 26c17a1c
      Beomho Seo 提交于
      This patch is fixed [read/write] integration time function.
      cm36651 have integration time from 1 to 640 milliseconds.
      But, print more then the thousand second. when call *_integration_time attribute.
      Because read_integration_time function return IIO_VAL_INT.
      read integration time function is changed return IIO_VAL_INT_PLUS_MICRO;
      And then .write_raw_get_fmt callback function for parse a fixed-point number from a string.
      Some description is revised milliseconds unit.
      
      v2: cm36651_write_int_time function fixed as it was.
      Signed-off-by: NBeomho Seo <beomho.seo@samsung.com>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      26c17a1c
  2. 08 2月, 2014 39 次提交