]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
net/usb/pegasus: avoid hundreds of diagnostics
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 2 Sep 2008 18:34:24 +0000 (11:34 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 3 Sep 2008 13:26:10 +0000 (09:26 -0400)
commite000ea13123a28108cff2d6b9856b414dfdcd1fa
tree49e5b59158bef5216e45f48deb674d84d9fe1895
parent37b08e34a98c664bea86e3fae718ac45a46b7276
net/usb/pegasus: avoid hundreds of diagnostics

Make the "pegasus" driver scream less loudly in the face of
problems as it initializes, avoiding hundreds of messages:

 - ratelimit some key error messages
 - avoid some spurious diagnostics caused by strange codeflow

And fix one instance of goofy indentation.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/usb/pegasus.c