From: Nicholas Mc Guire Date: Mon, 30 Mar 2015 12:39:21 +0000 (+0300) Subject: ath10k: harmonize error case handling in ath10k_core_start X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~230^2~34^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9eea56895faa397ecb5bec99790613a36b6ad1e3;p=pandora-kernel.git ath10k: harmonize error case handling in ath10k_core_start All of the bringup/init functions called in ath10k_core_start return 0 on success and != 0 on failure. ath10k_wmi_wait_for_service_ready(), ath10k_wmi_wait_for_unified_ready() and their call sites were adjusted to fit this model. The return type of wait_for_completion_timeout is unsigned long not int so ath10k_wmi_wait_for_service_ready() and ath10k_wmi_wait_for_unified_ready() were fixed up accordingly. Signed-off-by: Nicholas Mc Guire Signed-off-by: Kalle Valo --- Reading git-diff-tree failed