Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: [email protected] Signed-off-by: Yong Li <[email protected]> Reviewed-by: Phil Reid <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
- Loading branch information