diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2022-02-09 21:08:06 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-02-11 02:18:35 +0100 |
commit | ba2ab85951c91a140a8fa51d8347d54e59ec009d (patch) | |
tree | 89b180dde80e9608c2da1783e870c2e4db306fef /LICENSES/preferred/BSD-2-Clause | |
parent | dfd42facf1e4ada021b939b4e19c935dcdd55566 (diff) | |
download | lwn-ba2ab85951c91a140a8fa51d8347d54e59ec009d.tar.gz lwn-ba2ab85951c91a140a8fa51d8347d54e59ec009d.zip |
pinctrl: fix loop in k210_pinconf_get_drive()
The loop exited too early so the k210_pinconf_drive_strength[0] array
element was never used.
Fixes: d4c34d09ab03 ("pinctrl: Add RISC-V Canaan Kendryte K210 FPIOA driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
Link: https://lore.kernel.org/r/20220209180804.GA18385@kili
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'LICENSES/preferred/BSD-2-Clause')
0 files changed, 0 insertions, 0 deletions