]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: pca953x: remove incorrect le16_to_cpu calls
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 3 Jul 2017 17:45:30 +0000 (20:45 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Aug 2017 13:01:12 +0000 (15:01 +0200)
commit7d0716093ad7afe2371d23fd701bfeae0e605c2e
treee09207436ebae9208c883c234c29ffbeeb00bc38
parent81e33233bb6e5b6c3449e934fdad18cd5f870194
gpio: pca953x: remove incorrect le16_to_cpu calls

i2c_smbus commands handle the correct byte order for smbus transactions
internally. This will currently result in incorrect operation on big
endian systems.

Suggested-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pca953x.c