[PATCH v2] GPMC: fix device size setup

Tony Lindgren tony at atomide.com
Thu Jan 26 18:31:50 EST 2012


* Yegor Yefremov <yegor_sub1 at visionsystems.de> [120122 23:01]:
> 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

Thanks applying into fixes.

Tony



More information about the linux-arm-kernel mailing list