From: Hegde, Vinay Date: Thu, 24 Feb 2011 23:56:28 +0000 (+0000) Subject: davinci_emac: Add Carrier Link OK check in Davinci RX Handler X-Git-Tag: v2.6.38-rc8~29^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a5f38467765ee15478db90d81e40c269c8dda20;p=pandora-kernel.git davinci_emac: Add Carrier Link OK check in Davinci RX Handler This patch adds an additional check in the Davinci EMAC RX Handler, which tests the __LINK_STATE_NOCARRIER flag along with the __LINK_STATE_START flag as part EMAC shutting down procedure. This avoids WARNING: at drivers/net/davinci_emac.c:1040 emac_rx_handler+0xf8/0x120() during rtcwake used to suspend the target for a specified duration. Signed-off-by: Hegde, Vinay Acked-by: Cyril Chemparathy Signed-off-by: David S. Miller --- Reading git-diff-tree failed