From: Claudiu Manoil Date: Mon, 17 Feb 2014 10:53:17 +0000 (+0200) Subject: gianfar: Factor out enabling/disabling of hw interrupts X-Git-Tag: v3.15-rc1~113^2~317^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efeddce7ea7c75a53b3084d71db15657a00e94dc;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed