Staging: VME: Fix ca91cx42 VME interrupt generation.
authorVincent Bossier <vincent.bossier@gmail.com>
Thu, 9 Jun 2011 07:59:43 +0000 (08:59 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jun 2011 21:08:34 +0000 (14:08 -0700)
commit54b4a779c9565c475a17cc1254a38f293a5ba3ef
tree83b9e5f0d9cd8624df0361f38321b548dbcb99e3
parent05614fbfc1f3dedc337ac67e83b6ad130ba9fc9f
Staging: VME: Fix ca91cx42 VME interrupt generation.

The wait_event_interruptible call requires a condition as second argument that
needs to be true sometimes, which is obviously not the case with '0'. The new
logic is inspired from the tsi148 driver and takes into account Universe II chip
specifics.

Signed-off-by: Vincent Bossier <vincent.bossier@gmail.com>
Acked-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/vme/bridges/vme_ca91cx42.c