]> 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)
commit12f5b69fc2c6f4952a53de8f801f3a3b6250bad7
tree458f61eb26efd7906250da540b09fd8ef7ed8cfe
parent5ee1edb68b15521030ee2cdbb54bc3348c5f12f8
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