From d450b5a0196b6442cf3f29fc611d9c8daa56b559 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Mon, 13 Oct 2008 10:39:58 +0100 Subject: [PATCH] tty: kref usage for isicom and moxa Rather than blindly keep taking krefs we reorder the code in a few places to pass the tty down to the right place (which is important as from the user side it is not the case that tty == port->tty in all situations). For the irq and related paths use the krefs to stop the tty being freed under us. Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- Reading git-format-patch failed