From: Christian Lamparter Date: Fri, 17 Sep 2010 20:58:40 +0000 (+0200) Subject: carl9170: fix state downgrade during reset X-Git-Tag: v2.6.37-rc1~147^2~373^2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78ec789bd397249a9bb412ca91bd360079e7b446;p=pandora-kernel.git carl9170: fix state downgrade during reset Don't mark the device as completely dead just yet. If all goes to plan and carl9170_reboot succeeds then we can skip the expensive userspace-driven reinitialization anyway. And if it doesn't and carl9170_reboot fails, then carl9170_usb_cancel_urbs will do the necessary steps. Signed-off-by: Christian Lamparter Signed-off-by: John W. Linville --- Reading git-diff-tree failed