st-asc.c (8dd06ef34b6e2f41b29fbf5fc1663780f2524285) st-asc.c (18ee37e1382a7c4840e753bc8e9ba5fd5dc663f5)
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * st-asc.c: ST Asynchronous serial controller (ASC) driver
4 *
5 * Copyright (C) 2003-2013 STMicroelectronics (R&D) Limited
6 */
7
8#include <linux/module.h>

--- 464 unchanged lines hidden (view full) ---

473 asc_disable_rx_interrupts(port);
474 free_irq(port->irq, port);
475}
476
477static void asc_pm(struct uart_port *port, unsigned int state,
478 unsigned int oldstate)
479{
480 struct asc_port *ascport = to_asc_port(port);
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * st-asc.c: ST Asynchronous serial controller (ASC) driver
4 *
5 * Copyright (C) 2003-2013 STMicroelectronics (R&D) Limited
6 */
7
8#include <linux/module.h>

--- 464 unchanged lines hidden (view full) ---

473 asc_disable_rx_interrupts(port);
474 free_irq(port->irq, port);
475}
476
477static void asc_pm(struct uart_port *port, unsigned int state,
478 unsigned int oldstate)
479{
480 struct asc_port *ascport = to_asc_port(port);
481 unsigned long flags = 0;
481 unsigned long flags;
482 u32 ctl;
483
484 switch (state) {
485 case UART_PM_STATE_ON:
486 clk_prepare_enable(ascport->clk);
487 break;
488 case UART_PM_STATE_OFF:
489 /*

--- 517 unchanged lines hidden ---
482 u32 ctl;
483
484 switch (state) {
485 case UART_PM_STATE_ON:
486 clk_prepare_enable(ascport->clk);
487 break;
488 case UART_PM_STATE_OFF:
489 /*

--- 517 unchanged lines hidden ---