commit | d94248ac2aef78e39a76321458a78ba7805dba2e | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Thu Oct 24 18:33:33 2013 +1100 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Dec 05 14:32:32 2013 -0500 |
tree | 84e9129d10c24e519ba136bdda95783161f42c0d | |
parent | c8520bcb784df69cf5960308846253814ec45db7 [diff] |
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" <hns@goldelico.com> Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>