aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-tegra.c
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-10-16 21:50:56 +0000
committersaturneric <[email protected]>2025-10-16 21:50:56 +0000
commit5293dcd7ffda472dbf326c81877bb63d2bfcbd10 (patch)
treeda3be05c4aa1646e5f26a84cd75d83fe866c5358 /drivers/gpio/gpio-tegra.c
parentMerge tag 'v6.16' (diff)
parentLinux 6.17 (diff)
downloadkernel-5293dcd7ffda472dbf326c81877bb63d2bfcbd10.tar.gz
kernel-5293dcd7ffda472dbf326c81877bb63d2bfcbd10.zip
Merge tag 'v6.17'
Linux 6.17
Diffstat (limited to 'drivers/gpio/gpio-tegra.c')
-rw-r--r--drivers/gpio/gpio-tegra.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c
index 9ad286adf263..15a5762a82c2 100644
--- a/drivers/gpio/gpio-tegra.c
+++ b/drivers/gpio/gpio-tegra.c
@@ -146,12 +146,14 @@ static void tegra_gpio_free(struct gpio_chip *chip, unsigned int offset)
tegra_gpio_disable(tgi, offset);
}
-static void tegra_gpio_set(struct gpio_chip *chip, unsigned int offset,
- int value)
+static int tegra_gpio_set(struct gpio_chip *chip, unsigned int offset,
+ int value)
{
struct tegra_gpio_info *tgi = gpiochip_get_data(chip);
tegra_gpio_mask_write(tgi, GPIO_MSK_OUT(tgi, offset), offset, value);
+
+ return 0;
}
static int tegra_gpio_get(struct gpio_chip *chip, unsigned int offset)