mirror of
https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable.git
synced 2025-09-26 17:10:55 +10:00
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>
This commit is contained in:
parent
fd2b55f86b
commit
51273792cb
@ -1757,7 +1757,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);
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user