]> bbs.cooldavid.org Git - net-next-2.6.git/commit
USB: ehci-dbg: fix reading less content of periodic file
authorMing Lei <tom.leiming@gmail.com>
Thu, 18 Sep 2008 15:06:38 +0000 (23:06 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 17 Oct 2008 21:40:57 +0000 (14:40 -0700)
commit3c4bb71f96c69ef3c81fda108c96b633a2000de2
tree6dcbb788842eb1cc71f99748ca76a0a95139c0f5
parent3c04e20ea95f9a8555456000e0ff340bdc46dea8
USB: ehci-dbg: fix reading less content of periodic file

This patch fix 2 problems about reading periodic file:

1. The "..." after a interrupt qh is missed because buffer pointer is
   not moved.

2. After setting p.ptr as NULL, its next qh or itd will be omited and
   can't be stored in debug buffer.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-dbg.c