Messages in this thread | | | From | Stephen Boyd <> | Subject | Re: [PATCH 1/3] driver core: platform: Add platform_get_irq_byname_optional() | Date | Mon, 07 Oct 2019 08:30:52 -0700 |
| |
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 not print errors, for this. > > While at it also improve the kdoc text for platform_get_irq_byname() a bit. > > BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=205037 > Signed-off-by: Hans de Goede <hdegoede@redhat.com> > ---
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
| |