commit | 112197de6d240a754ef3d9609ace53ccbc013dc9 | [log] [tgz] |
---|---|---|
author | Ioana Radulescu <ruxandra.radulescu@nxp.com> | Wed Oct 11 08:29:49 2017 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Oct 18 16:45:18 2017 +0200 |
tree | b2892625b51175a3f4520c9100376acb36dabac8 | |
parent | 729d79b8909ff6cf17c3edfd3c9dea47fdaf9f56 [diff] |
staging: fsl-dpaa2/eth: Use implicit clear of link interrupt dpni_get_irq_status() also looks at the input value of its status parameter, and if not null it automatically clears from pending state the bits that are set there. Use this feature to avoid a separate MC command for clearing the interrupt event bits after reading the status. Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>