summaryrefslogtreecommitdiff
path: root/drivers/net/can
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>2012-01-04 14:27:19 +0400
committerKalle Valo <kvalo@qca.qualcomm.com>2012-01-09 18:20:11 +0400
commit9d82682d45ef7407474e0ae043a587cb33a7fa26 (patch)
tree979005036a5315bcb99ea7b8ab92d9e7d46a8b56 /drivers/net/can
parent982767b8c94482b4b7f694e2ab2074c95fbf3e0e (diff)
downloadlinux-9d82682d45ef7407474e0ae043a587cb33a7fa26.tar.xz
ath6kl: Use a mutex_lock to avoid race in diabling and handling irq
Currently this race is handled but in a messy way an atomic variable is being checked in a loop which sleeps upto ms in every iteration. Remove this logic and use a mutex to make sure irq is not disabled when irq handling is in progress. Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/can')
0 files changed, 0 insertions, 0 deletions