ip17xx: Fixed error handling in ip175c_set_val()
authorGabor Juhos <juhosg@openwrt.org>
Tue, 8 Jun 2010 20:18:05 +0000 (20:18 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 8 Jun 2010 20:18:05 +0000 (20:18 +0000)
commit7b5a77fa391c20e3954aa358d8edbfacefbcff9e
treeb1c5a2915254f9b74afd60b26d95a268d6a2df9f
parentb3073617a5d6d09b99cb06e73168d2bc55a24ebd
ip17xx: Fixed error handling in ip175c_set_val()

Upon error, ip175c_set_val() returned 0 instead of -EINVAL.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21711
target/linux/generic-2.6/files/drivers/net/phy/ip175c.c