summaryrefslogtreecommitdiff
path: root/fs/xattr.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-04-11 12:13:11 +0400
committerMarc Kleine-Budde <mkl@pengutronix.de>2014-04-25 00:08:55 +0400
commitef1d2e286a2d8876e03a3f58ea1a1f549727e518 (patch)
tree7c85a445c90d79bd972fc10dc644cccc1b363b16 /fs/xattr.c
parentbed11db3d4095e5f818f5e8bf7f43ef2beb36d4e (diff)
downloadlinux-ef1d2e286a2d8876e03a3f58ea1a1f549727e518.tar.xz
can: c_can: Make bus off interrupt disable logic work
The state change handler is called with device interrupts disabled already. So no point in disabling them again when we enter bus off state. But what's worse is that we reenable the interrupts at the end of NAPI poll unconditionally. So c_can_start() which is called from the restart timer can trigger interrupts which confuse the hell out of the half reinitialized driver/hw. Remove the pointless device interrupt disable in the BUS_OFF handler and prevent reenabling the device interrupts at the end of the poll routine when the current state is BUS_OFF. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Alexander Stein <alexander.stein@systec-electronic.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'fs/xattr.c')
0 files changed, 0 insertions, 0 deletions