diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-02-18 01:11:49 +0300 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-02-18 12:56:35 +0300 |
| commit | fbd03587ba732c612b8a569d1cf5bed72bd3a27c (patch) | |
| tree | 67e9314fd0ed146fc984535dc01186cfb1d65e9a /scripts/checkstack.pl | |
| parent | 6766f59012301f1bf3f46c6e7149caca45d92309 (diff) | |
| download | linux-fbd03587ba732c612b8a569d1cf5bed72bd3a27c.tar.xz | |
gpio: amd-fch: ionly return allowed values from amd_fch_gpio_get()
As of 86ef402d805d ("gpiolib: sanitize the return value of
gpio_chip::get()") gpiolib requires drivers implementing GPIOs to only
return 0, 1 or negative error for the get() callbacks. Ensure that
amd-fch complies with this requirement.
Fixes: 86ef402d805d ("gpiolib: sanitize the return value of gpio_chip::get()")
Reported-and-tested-by: Tj <tj.iam.tj@proton.me>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Link: https://patch.msgid.link/aZTlwnvHt2Gho4yN@google.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
