diff options
author | Craig W. Nadler <craig@nadler.us> | 2008-03-20 17:46:26 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-25 00:16:45 -0400 |
commit | cc901bbb2e2a4e4f96da3d70dae332882c10054b (patch) | |
tree | 18973a9558c179f7fa4998d12b233a456a6afff1 /init/main.c | |
parent | 119fc8c9acde650fb92b44c34ea6fc84feb0f6dd (diff) |
USB: g_printer bugfixes
G_PRINTER: Bug fix for blocking reads and a fix for a memory leak.
This fixes bugs in blocking IO calls. When the poll() entry point
is called receive transfers will be setup if they have not already
been. Another bug fix is that the poll() entry point now checks the
current receive buffer for data when reporting if any data had been
received. A memory leak was fixed that could have occurred when a
USB reset happened.
Signed-off-by: Craig W. Nadler <craig@nadler.us>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions