Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <johan+linaro@kernel.org>
Reviewed-by: Georgi Djakov <djakov@kernel.org>
Link: https://lore.kernel.org/r/20230711160516.30502-1-johan+linaro@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Johan Hovold and committed by
Greg Kroah-Hartman
51273792 fd2b55f8

+1 -1
+1 -1
drivers/tty/serial/qcom_geni_serial.c
··· 1757 1757 private_data = uport->private_data; 1758 1758 1759 1759 if (uart_console(uport)) { 1760 - geni_icc_set_tag(&port->se, 0x7); 1760 + geni_icc_set_tag(&port->se, QCOM_ICC_TAG_ALWAYS); 1761 1761 geni_icc_set_bw(&port->se); 1762 1762 ret = uart_resume_port(private_data->drv, uport); 1763 1763 /*