From: NeilBrown Date: Thu, 24 Oct 2013 07:33:33 +0000 (+1100) Subject: libertas/sdio: make sure card enters power-off when firmware is loaded. X-Git-Tag: v3.14-rc1~94^2~601^2^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d94248ac2aef78e39a76321458a78ba7805dba2e;p=pandora-kernel.git libertas/sdio: make sure card enters power-off when firmware is loaded. Since firmware loading became async it is possible that if_sdio_finish_power_of is called with only one remaining runtime_pm reference, so it isn't safe to call pm_runtime_put_noidle. We must call pm_runtime_put(). Diagnosed-by: "Dr. H. Nikolaus Schaller" Signed-off-by: NeilBrown Signed-off-by: John W. Linville --- Reading git-diff-tree failed