Skip to content
Commit c21f7a52 authored by Milton Miller's avatar Milton Miller Committed by Benjamin Herrenschmidt
Browse files

hvc_console: Call free_irq() only if request_irq() was successful



Only call free_irq if we marked the request_irq has having succeeded
instead of whenever the the sub-driver identified the interrupt to use.

Signed-off-by: default avatarMilton Miller <miltonm@bga.com>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 9fef3d2d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment