mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 14:37:59 +00:00
linux: Patched the kernel's ati_remote and ati_remote drivers so that they achore their devices at the correct location in the sysfs tree.
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
70a453b442
commit
f79aa5d986
24
packages/linux/patches/linux-3.0-053-ati_remote-0.1.patch
Normal file
24
packages/linux/patches/linux-3.0-053-ati_remote-0.1.patch
Normal file
@ -0,0 +1,24 @@
|
||||
diff -Naur linux-3.0-old/drivers/input/misc/ati_remote2.c linux-3.0-new/drivers/input/misc/ati_remote2.c
|
||||
--- linux-3.0-old/drivers/input/misc/ati_remote2.c 2011-07-22 08:42:47.000000000 -0700
|
||||
+++ linux-3.0-new/drivers/input/misc/ati_remote2.c 2011-07-22 08:44:20.000000000 -0700
|
||||
@@ -619,7 +619,7 @@
|
||||
idev->phys = ar2->phys;
|
||||
|
||||
usb_to_input_id(ar2->udev, &idev->id);
|
||||
- idev->dev.parent = &ar2->udev->dev;
|
||||
+ idev->dev.parent = &ar2->intf[0]->dev;
|
||||
|
||||
retval = input_register_device(idev);
|
||||
if (retval)
|
||||
diff -Naur linux-3.0-old/drivers/input/misc/ati_remote.c linux-3.0-new/drivers/input/misc/ati_remote.c
|
||||
--- linux-3.0-old/drivers/input/misc/ati_remote.c 2011-07-22 08:42:47.000000000 -0700
|
||||
+++ linux-3.0-new/drivers/input/misc/ati_remote.c 2011-07-22 08:44:20.000000000 -0700
|
||||
@@ -682,7 +682,7 @@
|
||||
idev->phys = ati_remote->phys;
|
||||
|
||||
usb_to_input_id(ati_remote->udev, &idev->id);
|
||||
- idev->dev.parent = &ati_remote->udev->dev;
|
||||
+ idev->dev.parent = &ati_remote->interface->dev;
|
||||
}
|
||||
|
||||
static int ati_remote_initialize(struct ati_remote *ati_remote)
|
Loading…
x
Reference in New Issue
Block a user