android_kernel_xiaomi_sm8350/arch/arm/common
Russell King 409dc360b4 [ARM] clkdev: fix clock matching
The old matching algorithm was too fuzzy, causing false positives.
For example, when asked for device D connection C1 and we only find
device D connection C2, we return that as a valid match despite the
connection names being different.

Change the algorithm such that:
  An entry with a NULL ID is assumed to be a wildcard.
  If an entry has a device ID, it must match
  If an entry has a connection ID, it must match

However, we maintain the order of precidence while still only doing
a single pass over all entries: dev+con > dev only > con only.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2009-01-24 11:41:20 +00:00
..
clkdev.c [ARM] clkdev: fix clock matching 2009-01-24 11:41:20 +00:00
dmabounce.c [ARM] dma: add validation of DMA params 2008-09-29 13:54:28 +01:00
gic.c cpumask: make irq_set_affinity() take a const struct cpumask 2008-12-13 21:20:26 +10:30
icst307.c
icst525.c
it8152.c [ARM] 5298/1: Drop desc_handle_irq() 2008-10-09 15:00:36 +01:00
Kconfig [ARM] clkdev: add generic clkdev infrastructure 2008-11-27 12:38:21 +00:00
locomo.c [ARM] locomo: export locomo_frontlight_set() 2008-12-02 14:43:35 +08:00
Makefile [ARM] clkdev: add generic clkdev infrastructure 2008-11-27 12:38:21 +00:00
sa1111.c [ARM] arch/arm/common/sa1111.c: Correct error handling code 2008-12-14 11:03:46 +00:00
scoop.c
sharpsl_param.c [ARM] 4733/1: export sharpsl_param 2008-10-03 10:18:35 +01:00
sharpsl_pm.c [ARM] sharpsl_pm: fix compilation w/o CONFIG_PM 2008-10-30 22:10:15 +08:00
time-acorn.c
uengine.c
via82c505.c
vic.c [ARM] VIC: Update asm/hardware/vic.h with PL192 information 2008-12-15 23:03:10 +00:00