Yong Li 9b8e3ec343 gpio: pca953x: Use correct u16 value for register word write
The current implementation only uses the first byte in val,
the second byte is always 0. Change it to use cpu_to_le16
to write the two bytes into the register

Cc: stable@vger.kernel.org
Signed-off-by: Yong Li <sdliyong@gmail.com>
Reviewed-by: Phil Reid <preid@electromag.com.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2016-04-08 11:49:47 +02:00
..
2016-01-05 11:21:05 +01:00
2016-02-16 00:19:53 +01:00
2016-01-05 15:46:34 +01:00
2016-03-09 22:02:52 +07:00
2016-01-05 11:21:19 +01:00
2016-03-18 10:15:11 -07:00
2016-03-18 10:15:11 -07:00