Skip to content

Commit 2e432c3

Browse files
committed
Revert "RK patch for improve usb camera performance"
This reverts commit eed0b61. Change-Id: Ia5fd354ff0764c081cb0ac3e50476d26163852c3 Reviewed-on: https://tp-biosrd-v02/gerrit/83039 Reviewed-by: Jamess Huang(黃以民) <Jamess_Huang@asus.com> Tested-by: Jamess Huang(黃以民) <Jamess_Huang@asus.com>
1 parent 6557e4d commit 2e432c3

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

drivers/irqchip/irq-gic.c

100755100644
Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,7 @@ static int gic_set_affinity(struct irq_data *d, const struct cpumask *mask_val,
328328
mask = 0xff << shift;
329329
bit = gic_cpu_map[cpu] << shift;
330330
val = readl_relaxed(reg) & ~mask;
331-
if((gic_irq(d)!=57))
332-
writel_relaxed(val | bit, reg);
331+
writel_relaxed(val | bit, reg);
333332
raw_spin_unlock_irqrestore(&irq_controller_lock, flags);
334333

335334
return IRQ_SET_MASK_OK;
@@ -505,9 +504,6 @@ static void __init gic_dist_init(struct gic_chip_data *gic)
505504

506505
gic_dist_config(base, gic_irqs, NULL);
507506

508-
// Set usb host IRQ 57 for N cpu
509-
writel_relaxed(0x01010e01, base + GIC_DIST_TARGET + 0x38);
510-
writel_relaxed(0xa0a090a0, base + GIC_DIST_PRI + 0x38);
511507
writel_relaxed(GICD_ENABLE, base + GIC_DIST_CTRL);
512508
}
513509

drivers/media/usb/uvc/uvcvideo.h

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
#define DRIVER_VERSION "1.1.1"
140140

141141
/* Number of isochronous URBs. */
142-
#define UVC_URBS 20
142+
#define UVC_URBS 5
143143
/* Maximum number of packets per URB. */
144144
#define UVC_MAX_PACKETS 32
145145
/* Maximum status buffer size in bytes of interrupt URB. */

0 commit comments

Comments
 (0)