From: Alexandre Bounine Date: Wed, 10 Oct 2012 22:53:59 +0000 (-0700) Subject: rapidio: update asynchronous discovery initialization X-Git-Tag: v3.7-rc1~53^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2574740d1fe946803caa6b0c06fbb4bf397af35d;p=pandora-kernel.git rapidio: update asynchronous discovery initialization Update discovery process initialization based on Andrew Morton's comments: https://lkml.org/lkml/2012/10/3/552. This update processes all enumerating mports first and schedules discovery work after that. If the initialization routine fails to allocate resources needed to execute discovery, it abandons discovery for all ports. Signed-off-by: Alexandre Bounine Cc: Matt Porter Cc: Li Yang Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed