diff options
author | Laura Abbott <labbott@fedoraproject.org> | 2016-01-05 08:35:12 -0800 |
---|---|---|
committer | Laura Abbott <labbott@fedoraproject.org> | 2016-01-05 08:35:14 -0800 |
commit | 597938b6aabbba29b6d0cac84fe44d2648faff53 (patch) | |
tree | 9856c8e3134a2d452fd0f557d8cad6726fdd14c7 /0007-device-property-return-EINVAL-when-property-isn-t-fo.patch | |
parent | 94beff34d1612edbd141baafed867613860eee79 (diff) | |
download | kernel-597938b6aabbba29b6d0cac84fe44d2648faff53.tar.gz kernel-597938b6aabbba29b6d0cac84fe44d2648faff53.tar.xz kernel-597938b6aabbba29b6d0cac84fe44d2648faff53.zip |
Drop patches for Lenovo Yoga Touchpad (rhbz 1275718)
These patches break the touchpad on Dell Inspiron 7559.
Drop until they make it in.
Diffstat (limited to '0007-device-property-return-EINVAL-when-property-isn-t-fo.patch')
-rw-r--r-- | 0007-device-property-return-EINVAL-when-property-isn-t-fo.patch | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/0007-device-property-return-EINVAL-when-property-isn-t-fo.patch b/0007-device-property-return-EINVAL-when-property-isn-t-fo.patch deleted file mode 100644 index 1cff9c141..000000000 --- a/0007-device-property-return-EINVAL-when-property-isn-t-fo.patch +++ /dev/null @@ -1,65 +0,0 @@ -From 3c60f1149a2fee9ac4ef3cc27bd830e3bd8d2654 Mon Sep 17 00:00:00 2001 -From: Andy Shevchenko <andriy.shevchenko@linux.intel.com> -Date: Mon, 30 Nov 2015 17:11:35 +0200 -Subject: [PATCH 07/16] device property: return -EINVAL when property isn't - found in ACPI - -Change return code to be in align with OF and built-in device properties error -codes. In particular -EINVAL means property is not found. - -Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> -Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> ---- - drivers/acpi/property.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/drivers/acpi/property.c b/drivers/acpi/property.c -index 88f4306..2aee416 100644 ---- a/drivers/acpi/property.c -+++ b/drivers/acpi/property.c -@@ -346,7 +346,7 @@ void acpi_free_properties(struct acpi_device *adev) - * - * Return: %0 if property with @name has been found (success), - * %-EINVAL if the arguments are invalid, -- * %-ENODATA if the property doesn't exist, -+ * %-EINVAL if the property doesn't exist, - * %-EPROTO if the property value type doesn't match @type. - */ - static int acpi_data_get_property(struct acpi_device_data *data, -@@ -360,7 +360,7 @@ static int acpi_data_get_property(struct acpi_device_data *data, - return -EINVAL; - - if (!data->pointer || !data->properties) -- return -ENODATA; -+ return -EINVAL; - - properties = data->properties; - for (i = 0; i < properties->package.count; i++) { -@@ -375,13 +375,13 @@ static int acpi_data_get_property(struct acpi_device_data *data, - if (!strcmp(name, propname->string.pointer)) { - if (type != ACPI_TYPE_ANY && propvalue->type != type) - return -EPROTO; -- else if (obj) -+ if (obj) - *obj = propvalue; - - return 0; - } - } -- return -ENODATA; -+ return -EINVAL; - } - - /** -@@ -439,7 +439,7 @@ int acpi_node_prop_get(struct fwnode_handle *fwnode, const char *propname, - * - * Return: %0 if array property (package) with @name has been found (success), - * %-EINVAL if the arguments are invalid, -- * %-ENODATA if the property doesn't exist, -+ * %-EINVAL if the property doesn't exist, - * %-EPROTO if the property is not a package or the type of its elements - * doesn't match @type. - */ --- -2.5.0 - |