From: Yegor Yefremov Date: Mon, 23 Jan 2012 07:32:23 +0000 (+0100) Subject: ARM: OMAP2+: GPMC: fix device size setup X-Git-Tag: v3.2.6~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04712489fde65768a46fa4a4b240fff446c17aa6;p=pandora-kernel.git ARM: OMAP2+: GPMC: fix device size setup commit 8ef5d844cc3a644ea6f7665932a4307e9fad01fa upstream. following statement can only change device size from 8-bit(0) to 16-bit(1), but not vice versa: regval |= GPMC_CONFIG1_DEVICESIZE(wval); so as this field has 1 reserved bit, that could be used in future, just clear both bits and then OR with the desired value Signed-off-by: Yegor Yefremov Signed-off-by: Tony Lindgren Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed