summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/realtek
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>2012-04-02 02:02:09 +0200
committerDavid S. Miller <davem@davemloft.net>2012-04-04 00:48:58 +0200
commitb3300146aa8efc5d3937fd33f3cfdc580a3843bc (patch)
tree89d0f63b53d8412bec93f4da8c5edf2ea4066dda /drivers/net/ethernet/realtek
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsh... (diff)
downloadlinux-b3300146aa8efc5d3937fd33f3cfdc580a3843bc.tar.xz
linux-b3300146aa8efc5d3937fd33f3cfdc580a3843bc.zip
phy:icplus:fix Auto Power Saving in ip101a_config_init.
This patch fixes Auto Power Saving configuration in ip101a_config_init which was broken as there is no phy register write followed after setting IP101A_APS_ON flag. This patch also fixes the return value of ip101a_config_init. Without this patch ip101a_config_init returns 2 which is not an error accroding to IS_ERR and the mac driver will continue accessing 2 as valid pointer to phy_dev resulting in memory fault. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/realtek')
0 files changed, 0 insertions, 0 deletions