]> git.dujemihanovic.xyz Git - u-boot.git/commit
gpio: turris_omnia_mcu: Fix usage of CMD_EXT_CONTROL
authorPali Rohár <pali@kernel.org>
Mon, 1 Aug 2022 10:11:13 +0000 (12:11 +0200)
committerStefan Roese <sr@denx.de>
Tue, 9 Aug 2022 06:57:23 +0000 (08:57 +0200)
commitc959374e841de4c9d2317ff3f110f03574e7db79
tree4580fa89216f7e81add9d35daef61a89323c4863
parente6c5e975b53958f7780746648363187d23aea358
gpio: turris_omnia_mcu: Fix usage of CMD_EXT_CONTROL

CMD_GENERAL_CONTROL takes two 8-bit arguments but CMD_EXT_CONTROL takes
two 16-bit arguments. Fix this issue and change CMD_EXT_CONTROL arguments
to 16-bit.

Fixes: 5e4d24ccc115 ("gpio: Add Turris Omnia MCU driver")
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/gpio/turris_omnia_mcu.c