[PATCH] USB: check for device in zd1201_resume
authorColin Leroy <colin@colino.net>
Sun, 1 May 2005 09:29:10 +0000 (11:29 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Jun 2005 21:43:47 +0000 (14:43 -0700)
commitf58f97fa9d258e4110ee1257a63cd1af51787f69
tree5332c491dcfb3ca5ba457ad48c8e559713efeae3
parenta3c900bb8cbacfecf0be51313e43f330663266a1
[PATCH] USB: check for device in zd1201_resume

My patch adding PM support for zd1201 didn't check for the device on
resume, which can oops if the device has been removed.

This patch fixes it.

Signed-off-by: Colin Leroy <colin@colino.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/net/zd1201.c