Re: [PATCH 1/3] driver core: platform: Add platform_get_irq_byname_optional()

2019-10-07 Thread Stephen Boyd
Quoting Hans de Goede (2019-10-05 14:04:47) > Some drivers (e.g dwc3) first try to get an IRQ byname and then fall > back to the one at index 0. In this case we do not want the error(s) > printed by platform_get_irq_byname(). This commit adds a new > platform_get_irq_byname_optional(), which does n

Re: [PATCH 1/3] driver core: platform: Add platform_get_irq_byname_optional()

2019-10-07 Thread Rafael J. Wysocki
On Sat, Oct 5, 2019 at 11:04 PM Hans de Goede wrote: > > Some drivers (e.g dwc3) first try to get an IRQ byname and then fall > back to the one at index 0. In this case we do not want the error(s) > printed by platform_get_irq_byname(). This commit adds a new > platform_get_irq_byname_optional(),

[PATCH 1/3] driver core: platform: Add platform_get_irq_byname_optional()

2019-10-05 Thread Hans de Goede
Some drivers (e.g dwc3) first try to get an IRQ byname and then fall back to the one at index 0. In this case we do not want the error(s) printed by platform_get_irq_byname(). This commit adds a new platform_get_irq_byname_optional(), which does not print errors, for this. While at it also improve