From: Srinivas Kandagatla Date: Mon, 2 Apr 2012 00:02:09 +0000 (+0000) Subject: phy:icplus:fix Auto Power Saving in ip101a_config_init. X-Git-Tag: v3.4-rc2~11^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3300146aa8efc5d3937fd33f3cfdc580a3843bc;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed