]> git.baikalelectronics.ru Git - kernel.git/commit
iio:adc:ad7887 Fix channel reported endianness from cpu to big endian
authorJonathan Cameron <jic23@kernel.org>
Wed, 11 Dec 2013 18:45:00 +0000 (18:45 +0000)
committerJonathan Cameron <jic23@kernel.org>
Tue, 17 Dec 2013 20:37:14 +0000 (20:37 +0000)
commit90505fadabc1390181315eec0f671425c341fbac
tree458f61eb26efd7906250da540b09fd8ef7ed8cfe
parent39e59d18cba664a59b02be2509255602b89dc877
iio:adc:ad7887 Fix channel reported endianness from cpu to big endian

Note this also sets the endianness to big endian whereas it would
previously have defaulted to the cpu endian.  Hence technically
this is a bug fix on LE platforms.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: stable@vger.kernel.org
drivers/iio/adc/ad7887.c