]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Input: goodix-berlin - fix comment referencing wrong regulator
authorLuca Weiss <luca.weiss@fairphone.com>
Fri, 3 Jan 2025 09:21:35 +0000 (10:21 +0100)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 25 Feb 2025 06:28:49 +0000 (22:28 -0800)
In the statement above AVDD gets enabled, and not IOVDD, so fix this
copy-paste mistake.

Fixes: 44362279bdd4 ("Input: add core support for Goodix Berlin Touchscreen IC")
Reported-by: Jens Reidel <adrian@travitia.xyz>
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20250103-goodix-berlin-fixes-v1-1-b014737b08b2@fairphone.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/goodix_berlin_core.c

index 3fc03cf0ca23fdbe36028a6228030d3ffb8d3a09..e273fb8edc6b92bcbad0fd35223a841d7da7d671 100644 (file)
@@ -263,7 +263,7 @@ static int goodix_berlin_power_on(struct goodix_berlin_core *cd)
                goto err_iovdd_disable;
        }
 
-       /* Vendor waits 15ms for IOVDD to settle */
+       /* Vendor waits 15ms for AVDD to settle */
        usleep_range(15000, 15100);
 
        gpiod_set_value_cansleep(cd->reset_gpio, 0);