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 <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>

Bug: 370629635
Change-Id: I2517ad217219a4acf92365846c668610248fb96e
(cherry picked from commit 51273792cb)
Signed-off-by: Praveen Talari <quic_ptalari@quicinc.com>
This commit is contained in:
Johan Hovold
2023-07-11 18:05:16 +02:00
committed by Treehugger Robot
parent 5bdef2817a
commit d5e0fbcd4a

View File

@@ -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);
/*