From: Andrew Morton Date: Mon, 5 Mar 2007 08:30:04 +0000 (-0800) Subject: [PATCH] cyclades: return closing_wait X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d5dedf99e4ca9860ce8a1dd42db1cb666c360632;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [PATCH] cyclades: return closing_wait In http://bugzilla.kernel.org/show_bug.cgi?id=8065, Shen points out that the cyclades driver forget to return closing_wait to userspace. Cc: Alan Cox Cc: Russell King Cc: Shen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/cyclades.c b/drivers/char/cyclades.c index 54df35527bc5..16dc5d1d3cb4 100644 --- a/drivers/char/cyclades.c +++ b/drivers/char/cyclades.c @@ -3501,6 +3501,7 @@ get_serial_info(struct cyclades_port *info, tmp.irq = cinfo->irq; tmp.flags = info->flags; tmp.close_delay = info->close_delay; + tmp.closing_wait = info->closing_wait; tmp.baud_base = info->baud; tmp.custom_divisor = info->custom_divisor; tmp.hub6 = 0; /*!!! */