net: asix: Fix ASIX 88772B with driver model
authorAlban Bedel <alban.bedel@avionic-design.de>
Sat, 10 Sep 2016 01:54:09 +0000 (03:54 +0200)
committerMarek Vasut <marex@denx.de>
Tue, 27 Sep 2016 21:30:14 +0000 (23:30 +0200)
commitcea6c8ce2327cfb41a13a8b8655e74dd18c2e6b7
tree222b906f8c99cfe83519a2024c444c91f0b10bb6
parentcbe7706ab8aab06c18edaa9b120371f9c8012728
net: asix: Fix ASIX 88772B with driver model

Commit 147271209a9d ("net: asix: fix operation without eeprom")
added a special handling for ASIX 88772B that enable another
type of header. This break the driver in DM mode as the extra handling
needed in the receive path is missing.

However this new header mode is not required and only seems to
increase the code complexity, so this patch revert this part of
commit 147271209a9d.

This also reverts commit 41d1258aceb45b45f9e68f67a9c40f0afbc09dc9
("net: asix: Fix AX88772B when used with DriverModel") of late.

Fixes: 147271209a9d ("net: asix: fix operation without eeprom")

Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
drivers/usb/eth/asix.c