From: Jens Frederich Date: Thu, 15 Aug 2013 19:34:55 +0000 (+0200) Subject: Staging: olpc_dcon: replace some magic numbers X-Git-Tag: v3.12-rc1~183^2~253 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98d4f93c79b002f85480320fe63fefaa31d58b6c;p=pandora-kernel.git Staging: olpc_dcon: replace some magic numbers This patch replace some magic numbers. I believe it makes the driver more readable. The magic number 0x26 is the XO system embedded controller (EC) command 'DCON power enable/disable'. Number 0x41, and 0x42 are special memory controller settings register. The 0x41 initialize bit sequence 0x101 means: enable memory power down function and special SDRAM clock delay for synchronize SDRAM output and clock signal. The 0x42 initialize squence 0x101 is wrong. According to the specification Bit 8 is reserved, thus not in use. I removed it. Signed-off-by: Jens Frederich Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed