summaryrefslogtreecommitdiffstats
path: root/.cocciconfig
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2020-02-24 12:58:03 -0800
committerTony Lindgren <tony@atomide.com>2020-02-26 10:03:35 -0800
commit590e15c76f1231329d1543570a54058dba2e4ff6 (patch)
tree9da04050553d156a6ab4c8bacc682a3b6e86c2f1 /.cocciconfig
parentab4d309d8708035bd323b2e2446eb68cda5e61e5 (diff)
bus: ti-sysc: Consider non-existing registers too when matching quirks
We are currently setting -1 for non-existing sysconfig related registers for quirks, but setting -ENODEV elsewhere. And for matching the quirks, we're now just ignoring the non-existing registers. This will cause issues with misdetecting DSS registers as the hardware revision numbers can have duplicates. To avoid this, let's standardize on using -ENODEV also for the quirks instead of -1. That way we can always just test for a match without adding any more complicated logic. Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions