can: cc770: Fix indirect access deadlock on ISA cards
authorWolfgang Zarre <lkdev@essax.com>
Sun, 15 Jan 2012 12:21:34 +0000 (13:21 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 2 Feb 2012 23:25:06 +0000 (00:25 +0100)
commit2d5091e08c684912ed6b9ca03d1f7b01501b7bf6
tree62ae0aca80b9fd4d219e5ab4c7ba5ea37dc6613c
parent7bb4db93ae59e0faf810a83a8578f56bc968ab01
can: cc770: Fix indirect access deadlock on ISA cards

This fix avoids a deadlock if an interrupt occurs
during consecutive port operations on ISA cards
utilising indirect access via address and data
port.

Tested on a B&R ISA card.

Cc: linux-can@vger.kernel.org
Cc: netdev@vger.kernel.org
Signed-off-by: Wolfgang Zarre <lkdev@essax.com>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/cc770/cc770_isa.c