diff options
author | Jason M. Bills <jason.m.bills@linux.intel.com> | 2020-12-08 00:45:20 +0300 |
---|---|---|
committer | Jason M. Bills <jason.m.bills@linux.intel.com> | 2020-12-10 01:15:05 +0300 |
commit | 82dbc15a05125a812c140a3c8cff81c366482229 (patch) | |
tree | 9c8f1ad262a2e281f20340cf8646aca6f8596044 /meta-openbmc-mods/meta-common/recipes-kernel/linux/linux-aspeed/0070-gpio-aspeed-temporary-fix-for-gpiochip-range-setting.patch | |
parent | 8d6ae7f2a817751fad151168fa10ce28ee0869d8 (diff) | |
download | openbmc-82dbc15a05125a812c140a3c8cff81c366482229.tar.xz |
Update to internal 0.26
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
Diffstat (limited to 'meta-openbmc-mods/meta-common/recipes-kernel/linux/linux-aspeed/0070-gpio-aspeed-temporary-fix-for-gpiochip-range-setting.patch')
-rw-r--r-- | meta-openbmc-mods/meta-common/recipes-kernel/linux/linux-aspeed/0070-gpio-aspeed-temporary-fix-for-gpiochip-range-setting.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/meta-openbmc-mods/meta-common/recipes-kernel/linux/linux-aspeed/0070-gpio-aspeed-temporary-fix-for-gpiochip-range-setting.patch b/meta-openbmc-mods/meta-common/recipes-kernel/linux/linux-aspeed/0070-gpio-aspeed-temporary-fix-for-gpiochip-range-setting.patch deleted file mode 100644 index 5c3e35016..000000000 --- a/meta-openbmc-mods/meta-common/recipes-kernel/linux/linux-aspeed/0070-gpio-aspeed-temporary-fix-for-gpiochip-range-setting.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 0bda96c5fe3064c71f190bc484e2ce59c51d5585 Mon Sep 17 00:00:00 2001 -From: Jae Hyun Yoo <jae.hyun.yoo@intel.com> -Date: Fri, 19 Jul 2019 12:54:38 -0700 -Subject: [PATCH] gpio: aspeed: temporary fix for gpiochip range setting - -Since we are still using fixed indices for gpio line numbers for sysfs -interface, this commit set the gpiochip range as fixed temporariliy -til we replace all index based gpio uses with name based uses. - -Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@intel.com> ---- - drivers/gpio/gpio-aspeed.c | 2 +- - drivers/gpio/sgpio-aspeed.c | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/drivers/gpio/gpio-aspeed.c b/drivers/gpio/gpio-aspeed.c -index 39c50c53dae3..05945470bd89 100644 ---- a/drivers/gpio/gpio-aspeed.c -+++ b/drivers/gpio/gpio-aspeed.c -@@ -1181,7 +1181,7 @@ static int __init aspeed_gpio_probe(struct platform_device *pdev) - gpio->chip.set = aspeed_gpio_set; - gpio->chip.set_config = aspeed_gpio_set_config; - gpio->chip.label = dev_name(&pdev->dev); -- gpio->chip.base = -1; -+ gpio->chip.base = 0; - - /* Allocate a cache of the output registers */ - banks = DIV_ROUND_UP(gpio->chip.ngpio, 32); -diff --git a/drivers/gpio/sgpio-aspeed.c b/drivers/gpio/sgpio-aspeed.c -index 5028e9144a75..850539da43f5 100644 ---- a/drivers/gpio/sgpio-aspeed.c -+++ b/drivers/gpio/sgpio-aspeed.c -@@ -681,7 +681,7 @@ static int __init aspeed_sgpio_probe(struct platform_device *pdev) - gpio->chip.set = aspeed_sgpio_set; - gpio->chip.set_config = aspeed_sgpio_set_config; - gpio->chip.label = dev_name(&pdev->dev); -- gpio->chip.base = -1; -+ gpio->chip.base = gpio->config->nr_pgpios; - - rc = aspeed_sgpio_setup_irqs(gpio, pdev); - if (rc < 0) --- -2.7.4 - |