diff options
-rw-r--r-- | drivers/serial/serial_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/serial_core.c b/drivers/serial/serial_core.c index d7e28ab4c313..d814bb1dcb05 100644 --- a/drivers/serial/serial_core.c +++ b/drivers/serial/serial_core.c | |||
@@ -792,6 +792,7 @@ static int uart_set_info(struct uart_state *state, | |||
792 | * We failed anyway. | 792 | * We failed anyway. |
793 | */ | 793 | */ |
794 | retval = -EBUSY; | 794 | retval = -EBUSY; |
795 | goto exit; // Added to return the correct error -Ram Gupta | ||
795 | } | 796 | } |
796 | } | 797 | } |
797 | 798 | ||