Skip to content
Commit 38a285d5 authored by Tzuyi Chang's avatar Tzuyi Chang Committed by Linus Walleij
Browse files

pinctrl: realtek: Fix logical error when finding descriptor



The pin descriptor should be returned if the name has been found in the
descriptor table. Remove the negation in the if statement for accurate
retrieval.

Fixes: e99ce780 ("pinctrl: realtek: Add common pinctrl driver for Realtek DHC RTD SoCs")
Signed-off-by: default avatarTzuyi Chang <tychang@realtek.com>
Link: https://lore.kernel.org/r/20231121091107.5564-1-tychang@realtek.com


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 65887324
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment