[ 20/84] net: ethernet: davinci_cpdma: decrease the desc count when cleaning up the remaining packets

2012-10-10 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: htbegin [ Upstream commit ffb5ba90017505a19e238e986e6d33f09e4df765 ] chan->count is used by rx channel. If the desc count is not updated by the clean up loop in cpdma_chan_stop, the value

[ 20/84] net: ethernet: davinci_cpdma: decrease the desc count when cleaning up the remaining packets

2012-10-10 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: htbegin hotfor...@gmail.com [ Upstream commit ffb5ba90017505a19e238e986e6d33f09e4df765 ] chan-count is used by rx channel. If the desc count is not updated by the clean up loop in