usb: usbeth: smsc95xx: remove EEPROM loaded check
authorMichael Spang <spang@chromium.org>
Wed, 6 Mar 2013 14:08:33 +0000 (14:08 +0000)
committerMarek Vasut <marex@denx.de>
Mon, 18 Mar 2013 17:58:54 +0000 (18:58 +0100)
commit032868a432d7107a7739c3ba82c663525a73a3d5
tree5f8da88ca9e072a869bb84b609b067b0774f2379
parent61755c7908be54a8221280cc801e65bc9d91dfad
usb: usbeth: smsc95xx: remove EEPROM loaded check

[port of Linux kernel commit bcd218be5aeb by Steve Glendinning]

The eeprom read & write commands currently check the E2P_CMD_LOADED_ bit is
set before allowing any operations.  This prevents any reading or writing
unless a correctly programmed EEPROM is installed.

Signed-off-by: Michael Spang <spang@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Marek Vasut <marex@denx.de>
drivers/usb/eth/smsc95xx.c