]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commite39d99059ad7f75d7ae2d3c59055d3c476cdb0d9
tree458f61eb26efd7906250da540b09fd8ef7ed8cfe
parent3425c0f7ac61f2fcfb7f2728e9b7ba7e27aec429
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