Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b3ef5aba authored by Graf Yang's avatar Graf Yang Committed by Linus Torvalds
Browse files

Blackfin Serial Driver: Fix bug - ircp fails on sir over Blackfin UART



We now use the sir_dev/irtty_sir/uart/bfin_serial drivers framework
to monitor the TX status.

Signed-off-by: default avatarGraf Yang <graf.yang@analog.com>
Signed-off-by: default avatarBryan Wu <cooloney@kernel.org>
Signed-off-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5ffdeea2
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -78,6 +78,9 @@
#  define CONFIG_UART1_RTS_PIN -1
#  define CONFIG_UART1_RTS_PIN -1
# endif
# endif
#endif
#endif

#define BFIN_UART_TX_FIFO_SIZE	2

/*
/*
 * The pin configuration is different from schematic
 * The pin configuration is different from schematic
 */
 */
+2 −0
Original line number Original line Diff line number Diff line
@@ -69,6 +69,8 @@
# endif
# endif
#endif
#endif


#define BFIN_UART_TX_FIFO_SIZE	2

struct bfin_serial_port {
struct bfin_serial_port {
        struct uart_port        port;
        struct uart_port        port;
        unsigned int            old_status;
        unsigned int            old_status;
+3 −0
Original line number Original line Diff line number Diff line
@@ -78,6 +78,9 @@
#  define CONFIG_UART1_RTS_PIN -1
#  define CONFIG_UART1_RTS_PIN -1
# endif
# endif
#endif
#endif

#define BFIN_UART_TX_FIFO_SIZE	2

/*
/*
 * The pin configuration is different from schematic
 * The pin configuration is different from schematic
 */
 */
+3 −0
Original line number Original line Diff line number Diff line
@@ -82,6 +82,9 @@
#  define CONFIG_UART1_RTS_PIN -1
#  define CONFIG_UART1_RTS_PIN -1
# endif
# endif
#endif
#endif

#define BFIN_UART_TX_FIFO_SIZE	2

/*
/*
 * The pin configuration is different from schematic
 * The pin configuration is different from schematic
 */
 */
+2 −0
Original line number Original line Diff line number Diff line
@@ -69,6 +69,8 @@
# endif
# endif
#endif
#endif


#define BFIN_UART_TX_FIFO_SIZE	2

struct bfin_serial_port {
struct bfin_serial_port {
        struct uart_port        port;
        struct uart_port        port;
        unsigned int            old_status;
        unsigned int            old_status;
Loading