From: Ben Cahill Date: Fri, 30 Oct 2009 21:36:05 +0000 (-0700) Subject: iwlwifi: remove unneeded locks from apm_stop() and stop_master() X-Git-Tag: v2.6.33-rc1~388^2~449^2~106 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5220af0c3b44f5d6e32661e5bb49154c514dbf4f;p=pandora-kernel.git iwlwifi: remove unneeded locks from apm_stop() and stop_master() Since priv->reg_lock was added to keep multi-access register manipulation atomic, priv->lock protection is no longer needed. Remove this from iwl_apm_stop_master() and iwl_apm_stop(). Add warning of timeout when polling for busmaster disablement confirmation, and some comments. NOTE: This is needed to enable use of apm_ops.stop() within iwl_eeprom_init(); priv->lock does not get initialized until after this flow. See patch "remove power-wasting calls to apm_ops.init()" Signed-off-by: Ben Cahill Signed-off-by: Reinette Chatre Signed-off-by: John W. Linville --- Reading git-diff-tree failed