aboutsummaryrefslogtreecommitdiff
path: root/chardev/char-stdio.c
diff options
context:
space:
mode:
authorMichael Davidsaver <mdavidsaver@gmail.com>2018-07-12 14:00:52 -0700
committerDavid Gibson <david@gibson.dropbear.id.au>2018-07-16 11:18:09 +1000
commitfd8e3381a00feb1e9878f6a3e2de11295f041f67 (patch)
treef203043baa4c09ee0679fbc0702514cb0a3272e0 /chardev/char-stdio.c
parentb585395b655a6c1f9d9ebf1f0890e76d0708eed6 (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 'chardev/char-stdio.c')
0 files changed, 0 insertions, 0 deletions