From: Ivan Vecera Date: Thu, 28 May 2015 21:10:08 +0000 (+0200) Subject: bna: fix soft lock-up during firmware initialization failure X-Git-Tag: omap-for-v4.2/wakeirq-drivers-v2^2~2^2~26^2~11^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4818e856475b309667ee38d4d0f2e3c1b933feef;p=pandora-kernel.git bna: fix soft lock-up during firmware initialization failure Bug in the driver initialization causes soft-lockup if firmware initialization timeout is reached. Polling function bfa_ioc_poll_fwinit() incorrectly calls bfa_nw_iocpf_timeout() when the timeout is reached. The problem is that bfa_nw_iocpf_timeout() calls again bfa_ioc_poll_fwinit()... etc. The bfa_ioc_poll_fwinit() should directly send timeout event for iocpf and the same should be done if firmware download into HW fails. Cc: Rasesh Mody Signed-off-by: Ivan Vecera Signed-off-by: David S. Miller --- Reading git-diff-tree failed