mst_fpga: correct irq level settings
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Wed, 16 Feb 2011 13:22:33 +0000 (16:22 +0300)
committerAndrzej Zaborowski <balrog@zabor.org>
Fri, 25 Feb 2011 08:06:16 +0000 (09:06 +0100)
commitfff30e1ec207e8f57815520de087389dc088d4f2
treefe0519343996e7f6ce0bbbb28ce5e0b8f76f7206
parent9b433e3716cf13569c2e33d3e5073c09853ef875
mst_fpga: correct irq level settings

Final corrections for IRQ levels that are set by mst_fpga:

* Don't retranslate IRQ if previously IRQ was masked.
* After setting or clearing IRQs through register, apply mask
  before setting parent IRQ level.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
hw/mst_fpga.c