fsl_lpuart.c (a98a62e456e25048e8d64ec452a1c713169d3517) fsl_lpuart.c (8322b1f527159de578aab277629296575a11eb3c)
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Freescale lpuart serial port driver
4 *
5 * Copyright 2012-2014 Freescale Semiconductor, Inc.
6 */
7
8#include <linux/clk.h>

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

2719
2720 if (sport->port.rs485.flags & SER_RS485_RX_DURING_TX)
2721 dev_err(&pdev->dev, "driver doesn't support RX during TX\n");
2722
2723 if (sport->port.rs485.delay_rts_before_send ||
2724 sport->port.rs485.delay_rts_after_send)
2725 dev_err(&pdev->dev, "driver doesn't support RTS delays\n");
2726
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Freescale lpuart serial port driver
4 *
5 * Copyright 2012-2014 Freescale Semiconductor, Inc.
6 */
7
8#include <linux/clk.h>

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

2719
2720 if (sport->port.rs485.flags & SER_RS485_RX_DURING_TX)
2721 dev_err(&pdev->dev, "driver doesn't support RX during TX\n");
2722
2723 if (sport->port.rs485.delay_rts_before_send ||
2724 sport->port.rs485.delay_rts_after_send)
2725 dev_err(&pdev->dev, "driver doesn't support RTS delays\n");
2726
2727 sport->port.rs485_config(&sport->port, &sport->port.rs485);
2727 uart_rs485_config(&sport->port);
2728
2729 ret = devm_request_irq(&pdev->dev, sport->port.irq, handler, 0,
2730 DRIVER_NAME, sport);
2731 if (ret)
2732 goto failed_irq_request;
2733
2734 return 0;
2735

--- 153 unchanged lines hidden ---
2728
2729 ret = devm_request_irq(&pdev->dev, sport->port.irq, handler, 0,
2730 DRIVER_NAME, sport);
2731 if (ret)
2732 goto failed_irq_request;
2733
2734 return 0;
2735

--- 153 unchanged lines hidden ---