1. 09 Oct, 2016 1 commit
  2. 01 Oct, 2016 1 commit
    • sayli karnik's avatar
      iio: maxim_thermocouple: Align 16 bit big endian value of raw reads · 231147ee
      sayli karnik authored
      Driver was reporting invalid raw read values for MAX6675 on big
      endian architectures. MAX6675 buffered mode is not affected, nor
      is the MAX31855.
      
      The driver was losing a 2 byte read value when it used a 32 bit
      integer buffer to store a 16 bit big endian value. Use big endian
      types to properly align buffers on big endian architectures.
      
      Fixes following sparse endianness warnings:
      warning: cast to restricted __be16
      warning: cast to restricted __be32
      Fixes checkpatch issue:
      CHECK: No space is necessary after a cast
      Signed-off-by: default avatarsayli karnik <karniksayli1995@gmail.com>
      Fixes: 1f25ca11 ("iio: temperature: add support for Maxim
      thermocouple chips")
      Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
      231147ee
  3. 25 Sep, 2016 36 commits
  4. 23 Sep, 2016 2 commits