]> git.baikalelectronics.ru Git - kernel.git/commit
ravb: clear RIC1 in init instead of stop
authorKazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
Mon, 14 Dec 2015 16:24:58 +0000 (01:24 +0900)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Dec 2015 19:33:09 +0000 (14:33 -0500)
commit9ef6a68be7ff0090021e1230d102390649fd42cd
tree306fd0a7065c7a027f1599eeda24918309b6a6ff
parenta9b3e484c140206176e92a1a11e6e01ae739b746
ravb: clear RIC1 in init instead of stop

AVB-DMAC Receive FIFO Warning interrupt is not enabled, so it is not
necessary to disable the interrupt in ravb_close().
On the other hand, this patch disables the interrupt in ravb_dmac_init() to
prevent the possibility that the interrupt is issued by the state that
a boot loader left.

Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/ravb_main.c