From d5e0fbcd4ad89c80b49e137f430e3d1350626f31 Mon Sep 17 00:00:00 2001 From: Johan Hovold Date: Tue, 11 Jul 2023 18:05:16 +0200 Subject: [PATCH] UPSTREAM: serial: qcom-geni: use icc tag defines Use the Qualcomm interconnect defines rather than magic numbers for the icc tags also in the restore() PM callback. Signed-off-by: Johan Hovold Reviewed-by: Georgi Djakov Link: https://lore.kernel.org/r/20230711160516.30502-1-johan+linaro@kernel.org Signed-off-by: Greg Kroah-Hartman Bug: 370629635 Change-Id: I2517ad217219a4acf92365846c668610248fb96e (cherry picked from commit 51273792cb9be9a2f7bd9ef3e8237e2668067793) Signed-off-by: Praveen Talari --- drivers/tty/serial/qcom_geni_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/qcom_geni_serial.c b/drivers/tty/serial/qcom_geni_serial.c index b3bcce7bc4d6..bdd9117405b4 100644 --- a/drivers/tty/serial/qcom_geni_serial.c +++ b/drivers/tty/serial/qcom_geni_serial.c @@ -1749,7 +1749,7 @@ static int qcom_geni_serial_sys_hib_resume(struct device *dev) private_data = uport->private_data; if (uart_console(uport)) { - geni_icc_set_tag(&port->se, 0x7); + geni_icc_set_tag(&port->se, QCOM_ICC_TAG_ALWAYS); geni_icc_set_bw(&port->se); ret = uart_resume_port(private_data->drv, uport); /*