diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-02-21 22:35:05 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-02-21 22:35:05 (GMT) |
commit | 10527106abec1e72a3b1f06fe58f0162603ed9df (patch) | |
tree | f5e954a99e42bb75a8fa7576759c934f4fa3990a /include/misc | |
parent | 0a4e836a60c786a46bc5691c2aaf30da0a317651 (diff) | |
parent | 1f42e5dd5065963979bb53daadf5d4f1e71f0c5f (diff) | |
download | linux-10527106abec1e72a3b1f06fe58f0162603ed9df.tar.xz |
Merge tag 'dt-for-linus' of git://git.secretlab.ca/git/linux
Pull devicetree fixes from Grant Likely:
"Device tree compatible match order bug fix
This branch contains a bug fix for the way devicetree code identifies
the type of device. Device drivers can contain a list of
of_device_ids, but it more than one entry will match, then the device
driver may choose the wrong one. Commit 105353145e, "match each node
compatible against all given matches first", was queued for v3.14 but
ended up causing other bugs. Commit 06b29e76a7 attempted to fix it
but it had other bugs. Merely reverting the fix and waiting until
v3.15 isn't a good option because there is code in v3.14 that depends
on the revised behaviour to boot.
This branch should finally fixes the problem correctly. This time
instead of just hoping that the patch is correct, this branch also
adds new testcases that validate the behaviour.
The changes in this branch are larger than I would like for a -rc
pull, but moving the test case data out of out of arch/arm so that it
could be validated on other architectures was important"
* tag 'dt-for-linus' of git://git.secretlab.ca/git/linux:
of: Add self test for of_match_node()
of: Move testcase FDT data into drivers/of
of: reimplement the matching method for __of_match_node()
Revert "of: search the best compatible match first in __of_match_node()"
Diffstat (limited to 'include/misc')
0 files changed, 0 insertions, 0 deletions