diff options
author | Michael Davidsaver <mdavidsaver@gmail.com> | 2018-07-12 14:00:52 -0700 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-07-16 11:18:09 +1000 |
commit | fd8e3381a00feb1e9878f6a3e2de11295f041f67 (patch) | |
tree | f203043baa4c09ee0679fbc0702514cb0a3272e0 /bt-vhci.c | |
parent | b585395b655a6c1f9d9ebf1f0890e76d0708eed6 (diff) |
etsec: fix IRQ (un)masking
Interrupt conditions occurring while masked are not being
signaled when later unmasked.
The fix is to raise/lower IRQs when IMASK is changed.
To avoid problems like this in future, consolidate
IRQ pin update logic in one function.
Also fix probable typo "IEVENT_TXF | IEVENT_TXF",
and update IRQ pins on reset.
Signed-off-by: Michael Davidsaver <mdavidsaver@gmail.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'bt-vhci.c')
0 files changed, 0 insertions, 0 deletions