From: hayeswang Date: Wed, 29 Oct 2014 03:12:15 +0000 (+0800) Subject: r8152: clear SELECTIVE_SUSPEND when autoresuming X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~25^2~18^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=923e1ee3ff0b585cc4f56cf696c8455708537ffb;p=pandora-kernel.git r8152: clear SELECTIVE_SUSPEND when autoresuming The flag of SELECTIVE_SUSPEND should be cleared when autoresuming. Otherwise, when the system suspend and resume occur, it may have the wrong flow. Besides, because the flag of SELECTIVE_SUSPEND couldn't be used to check if the hw enables the relative feature, it should alwayes be disabled in close(). Signed-off-by: Hayes Wang Signed-off-by: David S. Miller --- Reading git-diff-tree failed