From: Marco Chiappero Date: Sat, 19 May 2012 13:35:54 +0000 (+0900) Subject: sony-laptop: support automatic resume on lid open X-Git-Tag: v3.5-rc1~9^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54535d083f0ae6ee51a43a7a3e17e3ca89774937;p=pandora-kernel.git sony-laptop: support automatic resume on lid open A few models offer the chance to set whether to resume from S3 and/or S4 when opening the lid. [malattia@linux.it: create three sysfs files for S3/4/5 rather than using a single one accepting a bitmask. Support S5 since the DSDT exports it. Use a struct to hold all the related values, caching of the current status value rather than re-reading all the time in the sysfs show function.] Signed-off-by: Marco Chiappero Signed-off-by: Mattia Dongili Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed