Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
drivers
/
of
/
irq.c
diff --git
a/kernel/drivers/of/irq.c
b/kernel/drivers/of/irq.c
index
72a2c19
..
28da624
100644
(file)
--- a/
kernel/drivers/of/irq.c
+++ b/
kernel/drivers/of/irq.c
@@
-386,13
+386,13
@@
int of_irq_to_resource(struct device_node *dev, int index, struct resource *r)
EXPORT_SYMBOL_GPL(of_irq_to_resource);
/**
EXPORT_SYMBOL_GPL(of_irq_to_resource);
/**
- * of_irq_get - Decode a node's IRQ and return it as a Linux
irq
number
+ * of_irq_get - Decode a node's IRQ and return it as a Linux
IRQ
number
* @dev: pointer to device tree node
* @dev: pointer to device tree node
- * @index: zero-based index of the irq
- *
- * Returns Linux irq number on success, or -EPROBE_DEFER if the irq domain
- * is not yet created.
+ * @index: zero-based index of the IRQ
*
*
+ * Returns Linux IRQ number on success, or 0 on the IRQ mapping failure, or
+ * -EPROBE_DEFER if the IRQ domain is not yet created, or error code in case
+ * of any other failure.
*/
int of_irq_get(struct device_node *dev, int index)
{
*/
int of_irq_get(struct device_node *dev, int index)
{
@@
-413,12
+413,13
@@
int of_irq_get(struct device_node *dev, int index)
EXPORT_SYMBOL_GPL(of_irq_get);
/**
EXPORT_SYMBOL_GPL(of_irq_get);
/**
- * of_irq_get_byname - Decode a node's IRQ and return it as a Linux
irq
number
+ * of_irq_get_byname - Decode a node's IRQ and return it as a Linux
IRQ
number
* @dev: pointer to device tree node
* @dev: pointer to device tree node
- * @name:
irq
name
+ * @name:
IRQ
name
*
*
- * Returns Linux irq number on success, or -EPROBE_DEFER if the irq domain
- * is not yet created, or error code in case of any other failure.
+ * Returns Linux IRQ number on success, or 0 on the IRQ mapping failure, or
+ * -EPROBE_DEFER if the IRQ domain is not yet created, or error code in case
+ * of any other failure.
*/
int of_irq_get_byname(struct device_node *dev, const char *name)
{
*/
int of_irq_get_byname(struct device_node *dev, const char *name)
{