diff options
author | 2014-02-17 12:53:17 +0200 | |
---|---|---|
committer | 2014-02-18 15:03:02 -0500 | |
commit | efeddce7ea7c75a53b3084d71db15657a00e94dc (patch) | |
tree | c614f67d04ef02392523437276a4b939699de120 /net | |
parent | gianfar: Remove useless HAS_PADDING device flag (diff) | |
download | linux-dev-efeddce7ea7c75a53b3084d71db15657a00e94dc.tar.xz linux-dev-efeddce7ea7c75a53b3084d71db15657a00e94dc.zip |
gianfar: Factor out enabling/disabling of hw interrupts
Throughout the code there are places where the controller's
hw interrupt sources need to get disabled/enabled (masked/
un-masked) all at once. The recommendation for disabling
the interrupts is to clear the ievent first then the imask
register (not the other way around).
Use the gfar_ints_enable/disable() helpers to make these
operations consistent.
Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions