generic: fix adm6996 init
authorJohn Crispin <john@openwrt.org>
Mon, 26 Oct 2015 10:39:53 +0000 (10:39 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 26 Oct 2015 10:39:53 +0000 (10:39 +0000)
commit7fe0940c6976209b7860b1824d817f04f0ce4969
tree49ed3d1b13eb1f6a6198267dba23bf222b8a1eb6
parentb49cbdff6e722a40203beea5a3cc5ce3c6448e72
generic: fix adm6996 init

Kernel 3.14 added aditional genphy_soft_reset phy reset to phy_init_hw in drivers/net/phy/phy_device.c
Since adm6996 does in driver soft reset and doesn't use BMCR_RESET for soft reset
add dummy soft_reset callback to adm6996 driver, like it is done in ar8216.

This fixes ticket #20147

Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com>
SVN-Revision: 47272
target/linux/generic/files/drivers/net/phy/adm6996.c