kernel: bump 4.19 to 4.19.74
Refreshed all patches. Fixes: - CVE-2019-15504 Compile-tested on: cns3xxx Runtime-tested on: cns3xxx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
This commit is contained in:
@@ -26,7 +26,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
|
||||
/* Device and char device-related information */
|
||||
static DEFINE_IDA(gpio_ida);
|
||||
static dev_t gpio_devt;
|
||||
@@ -2628,7 +2630,7 @@ int gpiod_direction_output(struct gpio_d
|
||||
@@ -2634,7 +2636,7 @@ int gpiod_direction_output(struct gpio_d
|
||||
value = !!value;
|
||||
|
||||
/* GPIOs used for IRQs shall not be set as output */
|
||||
@@ -35,7 +35,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
|
||||
gpiod_err(desc,
|
||||
"%s: tried to set a GPIO tied to an IRQ as output\n",
|
||||
__func__);
|
||||
@@ -3316,7 +3318,7 @@ int gpiochip_lock_as_irq(struct gpio_chi
|
||||
@@ -3322,7 +3324,7 @@ int gpiochip_lock_as_irq(struct gpio_chi
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
||||
};
|
||||
|
||||
static const struct attribute_group *nvmem_ro_root_dev_groups[] = {
|
||||
@@ -478,6 +498,7 @@ struct nvmem_device *nvmem_register(cons
|
||||
@@ -485,6 +505,7 @@ struct nvmem_device *nvmem_register(cons
|
||||
nvmem->dev.bus = &nvmem_bus_type;
|
||||
nvmem->dev.parent = config->dev;
|
||||
nvmem->priv = config->priv;
|
||||
|
||||
@@ -41,7 +41,7 @@ Signed-off-by: Mark Brown <broonie@kernel.org>
|
||||
|
||||
--- a/drivers/gpio/gpiolib.c
|
||||
+++ b/drivers/gpio/gpiolib.c
|
||||
@@ -3942,8 +3942,23 @@ struct gpio_desc *__must_check gpiod_get
|
||||
@@ -3948,8 +3948,23 @@ struct gpio_desc *__must_check gpiod_get
|
||||
* the device name as label
|
||||
*/
|
||||
status = gpiod_request(desc, con_id ? con_id : devname);
|
||||
|
||||
@@ -23,7 +23,7 @@ Signed-off-by: Mark Brown <broonie@kernel.org>
|
||||
|
||||
--- a/drivers/gpio/gpiolib.c
|
||||
+++ b/drivers/gpio/gpiolib.c
|
||||
@@ -4016,6 +4016,8 @@ struct gpio_desc *gpiod_get_from_of_node
|
||||
@@ -4022,6 +4022,8 @@ struct gpio_desc *gpiod_get_from_of_node
|
||||
transitory = flags & OF_GPIO_TRANSITORY;
|
||||
|
||||
ret = gpiod_request(desc, label);
|
||||
|
||||
Reference in New Issue
Block a user