summaryrefslogtreecommitdiff
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorYegor Yefremov <yegor_sub1@visionsystems.de>2012-01-23 07:32:23 (GMT)
committerTony Lindgren <tony@atomide.com>2012-01-26 23:30:30 (GMT)
commit8ef5d844cc3a644ea6f7665932a4307e9fad01fa (patch)
tree3ff62f33654275913f0d7d59336f64c72bb65ee9 /lib/bitmap.c
parentdbc3982ae286e934e71f0b44e78d14844a9ca83b (diff)
downloadlinux-fsl-qoriq-8ef5d844cc3a644ea6f7665932a4307e9fad01fa.tar.xz
ARM: OMAP2+: GPMC: fix device size setup
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 <yegorslists@googlemail.com> Cc: stable@vger.kernel.org Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions