Skip to content
Commit fe0b5ced authored by Thierry Reding's avatar Thierry Reding Committed by Alexandre Belloni
Browse files

rtc: tegra: Propagate errors from platform_get_irq()



Instead of confusingly returning -EBUSY on failure to obtain an
interrupt, propagate the real error code. While at it, let the user know
why the interrupt could not be acquired.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent bc51098c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment