diff --git a/drivers/tty/serial/msm_geni_serial.c b/drivers/tty/serial/msm_geni_serial.c index 3ae76c939b6d..46304a8b0f43 100644 --- a/drivers/tty/serial/msm_geni_serial.c +++ b/drivers/tty/serial/msm_geni_serial.c @@ -3314,7 +3314,7 @@ static int msm_geni_serial_probe(struct platform_device *pdev) * Remove proxy vote from QUP core which was kept from common driver * probe on behalf of earlycon */ - if (uart_console(uport)) + if (dev_port->is_console) geni_se_remove_earlycon_icc_vote(dev_port->wrapper_dev); else spin_lock_init(&dev_port->rx_lock);