mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-27 20:56:55 +00:00
Remove the patch that switches handling of some IRQs to CPU1
This should presumably fix the infinite auto-repeat of button presses on WeTek Play remote.
This commit is contained in:
parent
9de92f7997
commit
983b54a150
@ -1,75 +0,0 @@
|
|||||||
diff -Naur a/drivers/amlogic/ethernet/am_net8218.c b/drivers/amlogic/ethernet/am_net8218.c
|
|
||||||
--- a/drivers/amlogic/ethernet/am_net8218.c 2015-01-04 18:07:58.000000000 +0100
|
|
||||||
+++ b/drivers/amlogic/ethernet/am_net8218.c 2015-01-20 23:44:29.000000000 +0100
|
|
||||||
@@ -1251,6 +1251,11 @@
|
|
||||||
goto out_err;
|
|
||||||
}
|
|
||||||
|
|
||||||
+ if (irq_set_affinity(dev->irq, cpumask_of(1))) {
|
|
||||||
+ printk(KERN_DEBUG "unable to set irq affinity (irq=%d, cpu=%u)\n",
|
|
||||||
+ dev->irq, 1);
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
if (g_debug > 0)
|
|
||||||
printk(KERN_DEBUG "%s: opened (irq %d).\n",
|
|
||||||
dev->name, dev->irq);
|
|
||||||
diff -Naur a/drivers/amlogic/mmc/aml_sdio.c b/drivers/amlogic/mmc/aml_sdio.c
|
|
||||||
--- a/drivers/amlogic/mmc/aml_sdio.c 2015-01-04 18:07:58.000000000 +0100
|
|
||||||
+++ b/drivers/amlogic/mmc/aml_sdio.c 2015-01-21 00:05:08.000000000 +0100
|
|
||||||
@@ -1267,6 +1267,11 @@
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
+ if (irq_set_affinity(INT_SDIO, cpumask_of(1))) {
|
|
||||||
+ printk(KERN_DEBUG "unable to set irq affinity (irq=%d, cpu=%u)\n",
|
|
||||||
+ INT_SDIO, 1);
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
host->bn_buf = dma_alloc_coherent(NULL, SDIO_BOUNCE_REQ_SIZE,
|
|
||||||
&host->bn_dma_buf, GFP_KERNEL);
|
|
||||||
if(NULL == host->bn_buf){
|
|
||||||
diff -Naur a/drivers/amlogic/usb/dwc_otg/310/dwc_otg_driver.c b/drivers/amlogic/usb/dwc_otg/310/dwc_otg_driver.c
|
|
||||||
--- a/drivers/amlogic/usb/dwc_otg/310/dwc_otg_driver.c 2015-01-04 18:07:58.000000000 +0100
|
|
||||||
+++ b/drivers/amlogic/usb/dwc_otg/310/dwc_otg_driver.c 2015-01-20 18:02:40.000000000 +0100
|
|
||||||
@@ -1202,7 +1202,10 @@
|
|
||||||
} else {
|
|
||||||
dwc_otg_device->common_irq_installed = 1;
|
|
||||||
}
|
|
||||||
-
|
|
||||||
+ if (irq_set_affinity(_dev->irq, cpumask_of(1))) {
|
|
||||||
+ pr_warning("unable to set irq affinity (irq=%d, cpu=%u)\n",
|
|
||||||
+ _dev->irq, 1);
|
|
||||||
+ }
|
|
||||||
#ifdef LM_INTERFACE
|
|
||||||
// set_irq_type(_dev->irq, IRQT_LOW);
|
|
||||||
#endif
|
|
||||||
diff -Naur a/drivers/amlogic/usb/dwc_otg/310/dwc_otg_hcd_linux.c b/drivers/amlogic/usb/dwc_otg/310/dwc_otg_hcd_linux.c
|
|
||||||
--- a/drivers/amlogic/usb/dwc_otg/310/dwc_otg_hcd_linux.c 2015-01-04 18:07:58.000000000 +0100
|
|
||||||
+++ b/drivers/amlogic/usb/dwc_otg/310/dwc_otg_hcd_linux.c 2015-01-20 18:06:35.000000000 +0100
|
|
||||||
@@ -610,7 +610,11 @@
|
|
||||||
if (retval < 0) {
|
|
||||||
goto error2;
|
|
||||||
}
|
|
||||||
-
|
|
||||||
+ if (irq_set_affinity(_dev->irq, cpumask_of(1))) {
|
|
||||||
+ pr_warning("unable to set irq affinity (irq=%d, cpu=%u)\n",
|
|
||||||
+ _dev->irq, 1);
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
dwc_otg_hcd_set_priv_data(dwc_otg_hcd, hcd);
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
diff -Naur a/drivers/amlogic/usb/dwc_otg/310/dwc_otg_pcd_linux.c b/drivers/amlogic/usb/dwc_otg/310/dwc_otg_pcd_linux.c
|
|
||||||
--- a/drivers/amlogic/usb/dwc_otg/310/dwc_otg_pcd_linux.c 2015-01-04 18:07:58.000000000 +0100
|
|
||||||
+++ b/drivers/amlogic/usb/dwc_otg/310/dwc_otg_pcd_linux.c 2015-01-20 18:03:14.000000000 +0100
|
|
||||||
@@ -1290,6 +1290,10 @@
|
|
||||||
return -EBUSY;
|
|
||||||
}
|
|
||||||
|
|
||||||
+ if (irq_set_affinity(_dev->irq, cpumask_of(1))) {
|
|
||||||
+ pr_warning("unable to set irq affinity (irq=%d, cpu=%u)\n",
|
|
||||||
+ _dev->irq, 1);
|
|
||||||
+ }
|
|
||||||
dwc_otg_pcd_start(gadget_wrapper->pcd, &fops);
|
|
||||||
|
|
||||||
return retval;
|
|
Loading…
x
Reference in New Issue
Block a user