Revert "of: match by compatible property first"
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 10 Jul 2012 19:49:32 +0000 (12:49 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 10 Jul 2012 19:49:32 +0000 (12:49 -0700)
commitbc51b0c22cebf5c311a6f1895fcca9f78efd0478
tree8465a0f8bf3559621aaab6d84d9f0d14831677d8
parent2437fccfbfc83bcb868ccc7fdfe2b5310bf07835
Revert "of: match by compatible property first"

This reverts commit 107a84e61cdd3406c842a0e4be7efffd3a05dba6.

Meelis Roos reports a regression since 3.5-rc5 that stops Sun Fire V100
and Sun Netra X1 sparc64 machines from booting, hanging after enabling
serial console.  He bisected it to commit 107a84e61cdd.

Rob Herring explains:
 "The problem is match combinations of compatible plus name and/or type
  fail to match correctly.  I have a fix for this, but given how late it
  is for 3.5 I think it is best to revert this for now.  There could be
  other cases that rely on the current although wrong behavior.  I will
  post an updated version for 3.6."

Bisected-and-reported-by: Meelis Roos <mroos@linux.ee>
Requested-by: Rob Herring <rob.herring@calxeda.com>
Cc: Thierry Reding <thierry.reding@avionic-design.de>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/of/base.c