]> git.openfabrics.org - ~emulex/infiniband.git/commit
rtl8180: fix DMA register are written two times
authorAndrea Merello <andrea.merello@gmail.com>
Sat, 22 Mar 2014 17:49:08 +0000 (18:49 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 27 Mar 2014 18:20:04 +0000 (14:20 -0400)
commit4818d82899aa97a482ba3508cd75864a60c483ac
treecd1025eb55dff863983cc251c25df27001817553
parent0f8ca014614e30b7a0e01af612704c80e970feb3
rtl8180: fix DMA register are written two times

Hw DMA registers are written in rtl8180_init_hw function.
They are also written again just after calling rtl8180_init_hw.
There is no point in doing this twice.

Remove those redundant register writes from rtl8180_start.

Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl818x/rtl8180/dev.c