This sorts out the sdio uart handling of the tty layer. The existing code has lots of races and other fun bugs. Beat it into the current tty format for hotpluggable devices. The updates are intentionally modelled on Alan Stern's USB serial approach which is defintiely "best practice" right now. Also clean it up as we go and sort the circ stuff out. I don't have hardware to test this so hopefully someone out there does, otherwise given the nature of the bugs involved the driver will be progressed to BROKEN and removal. --- Alan Cox (6): sdio_uart: Style fixes sdio_uart: Use kfifo instead of the messy circ stuff sdio_uart: Fix termios handling sdio_uart: Switch to the open/close helpers sdio_uart: Move the open lock sdio_uart: refcount the tty objects drivers/mmc/card/sdio_uart.c | 333 ++++++++++++++++++++++-------------------- 1 files changed, 176 insertions(+), 157 deletions(-) -- "and on the seventh day she exited append mode" -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html