aboutsummaryrefslogtreecommitdiff
path: root/drivers/hwmon/ad7414.c
diff options
context:
space:
mode:
authorMaciej Sosnowski <maciej.sosnowski@intel.com>2009-02-02 23:26:57 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-08 11:17:31 -0800
commit34dcc7657b7e11976cb9ab67e0bd3135539c97ea (patch)
treed2c76b23c4329b6268ee3015410a8a5d831f71c2 /drivers/hwmon/ad7414.c
parentf10f9dd87161b70da6ec3d257c1f01a6ac02536f (diff)
dca: redesign locks to fix deadlocks
commit eb4400e3a040b90a3ad805b01fcbc99a5f615c8f upstream. Change spin_locks to irqsave to prevent dead-locks. Protect adding and deleting to/from dca_providers list. Drop the lock during dca_sysfs_add_req() and dca_sysfs_remove_req() calls as they might sleep (use GFP_KERNEL allocation). Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com> Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/hwmon/ad7414.c')
0 files changed, 0 insertions, 0 deletions