commit | 6f4df41a29fadd17da7fdca722a8e07e02bb4829 | [log] [tgz] |
---|---|---|
author | Michael Bohan <mbohan@codeaurora.org> | Wed Jan 11 11:45:16 2012 -0800 |
committer | Michael Bohan <mbohan@codeaurora.org> | Mon Jan 16 14:25:54 2012 -0800 |
tree | ac1835fb7c133656cd5b2d54d3f5ab9ab73cec95 | |
parent | b8635c3f53352d245f146ffa1facd13a6db3bea3 [diff] |
irq: irqdomain: Change irq_domain_add to detect errors It should not be valid to add an irq_domain with a logical irq range that overlaps with another already registered to the system. Return an error on such an occurrence. This change also inherently sorts the irq_domains by logical irq_base as they are added. Change-Id: Idef697dbe4584d783703d053fbf09f1b17e62ab0 Signed-off-by: Michael Bohan <mbohan@codeaurora.org>