bcma: mips: fix clearing device IRQ
authorRafał Miłecki <zajec5@gmail.com>
Mon, 10 Dec 2012 06:53:56 +0000 (07:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 16:50:41 +0000 (08:50 -0800)
commit8fcd6a440a3d01216bd6d88ce00e7353b1813ec6
treed1b024b9518f76d476a0353150b95dcf4ed88f4e
parent2686f897e696630f02455b5fa269dd90312f5c8d
bcma: mips: fix clearing device IRQ

commit cbbc0138efe1dcd5426b8fc5d87741f5057aee72 upstream.

We were using wrong IRQ number so clearing wasn't working at all.
Depending on a platform this could result in a one device having two
interrupts assigned. On BCM4706 this resulted in all IRQs being broken.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/bcma/driver_mips.c