commit | 3da2cd9006493900dac4adbc30b0226f7dcab320 | [log] [tgz] |
---|---|---|
author | Niklas Cassel <niklas.cassel@wdc.com> | Tue Mar 01 10:35:44 2022 +0000 |
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | Tue Mar 15 17:43:11 2022 +0800 |
tree | 890063c1342818f200fa1477e5d924095c94f850 | |
parent | 5a6f455ed945ae51e4862a36fbf2db1a22fe5a19 [diff] |
pinctrl: k210: Fix loop in k210_pc_get_drive() The loop exited too early so the k210_pc_drive_strength[0] array element was never used. Original Linux patch by Dan Carpenter: https://lore.kernel.org/linux-gpio/20220209180804.GA18385@kili/ Fixes: 7224d5ccf8e1 ("pinctrl: Add support for Kendryte K210 FPIOA") Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com> Reviewed-by: Sean Anderson <seanga2@gmail.com>