]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
r8152: replace spin_lock_irqsave and spin_unlock_irqrestore
authorhayeswang <hayeswang@realtek.com>
Fri, 7 Mar 2014 03:04:34 +0000 (11:04 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Mar 2014 21:24:28 +0000 (16:24 -0500)
commit2685d4106316e9033f73e631b3bbb9e385123c0a
tree8b3cc8d0604b5490d7c00f836727daffc1cbba2a
parent91bd66e4c8e0042fdea945c5e455363f1d44959a
r8152: replace spin_lock_irqsave and spin_unlock_irqrestore

Use spin_lock and spin_unlock in interrupt context.

The ndo_start_xmit would not be called in interrupt context, so
replace the relative spin_lock_irqsave and spin_unlock_irqrestore
with spin_lock_bh and spin_unlock_bh.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c