Skip to content

Commit

Permalink
Staging: sep: Fix crash if a device is not found
Browse files Browse the repository at this point in the history
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 <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Nov 29, 2010
1 parent 6f89be9 commit da3f825
Showing 1 changed file with 167 additions and 196 deletions.
Loading

0 comments on commit da3f825

Please sign in to comment.