merged.

Bruce

In message: [linux-yocto][v5.10/standard/nxp-sdk-5.10/nxp-soc & 
v5.10/standard/preempt-rt/nxp-sdk-5.10/nxp-soc][PATCH] 
drivers/tty/serial/fsl_lpuart.c: fix compile error
on 19/04/2023 Li Wang wrote:

> In function 'lpuart_suspend':
> error: 'irq_wake' undeclared (first use in this function)
> 
> Signed-off-by: Li Wang <li.w...@windriver.com>
> ---
>  drivers/tty/serial/fsl_lpuart.c | 14 --------------
>  1 file changed, 14 deletions(-)
> 
> diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c
> index c7658ba89fb4..e56e099f01f7 100644
> --- a/drivers/tty/serial/fsl_lpuart.c
> +++ b/drivers/tty/serial/fsl_lpuart.c
> @@ -3196,20 +3196,6 @@ static int __maybe_unused lpuart_suspend(struct device 
> *dev)
>  
>       if (lpuart_uport_is_active(sport)) {
>               spin_lock_irqsave(&sport->port.lock, flags);
> -     /* uart_suspend_port() might set wakeup flag */
> -     irq_wake = irqd_is_wakeup_set(irq_get_irq_data(sport->port.irq));
> -
> -     if (sport->lpuart_dma_rx_use) {
> -             /*
> -              * EDMA driver during suspend will forcefully release any
> -              * non-idle DMA channels. If port wakeup is enabled or if port
> -              * is console port or 'no_console_suspend' is set the Rx DMA
> -              * cannot resume as expected, hence gracefully release the
> -              * Rx DMA path before suspend and start Rx DMA path on resume.
> -              */
> -             if (irq_wake) {
> -                     lpuart_dma_rx_free(&sport->port);
> -             }
>  
>               /* Disable Rx DMA to use UART port as wakeup source */
>               if (lpuart_is_32(sport)) {
> -- 
> 2.25.1
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12402): 
https://lists.yoctoproject.org/g/linux-yocto/message/12402
Mute This Topic: https://lists.yoctoproject.org/mt/98367838/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: 
https://lists.yoctoproject.org/g/linux-yocto/leave/6687884/21656/624485779/xyzzy
 [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to