From: Alan Cox Date: Wed, 24 Nov 2010 19:39:20 +0000 (+0000) Subject: Staging: sep: Fix crash if a device is not found X-Git-Tag: v2.6.38-rc1~423^2~196 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da3f825bc71b420e129b6344be0e3e863ebf8a42;p=pandora-kernel.git Staging: sep: Fix crash if a device is not found The existing code works mostly by luck. The PCI probe is done by the register and completes before the register returns thus allowing the other init code to run in time. Without a SEP or if unlucky this doesn't occur and you get an OOPS which for some reason causes grumpiness. As the season of good b^Hcheer is supposed to be approaching we should probably fix it. Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed