summaryrefslogtreecommitdiffstats
path: root/Documentation/robust-futexes.txt
diff options
context:
space:
mode:
authorSemen Protsenko2015-01-24 21:28:38 +0100
committerRoger Quadros2015-02-25 11:47:32 +0100
commit9c4f757ee9c64623efec61672305f87452f68968 (patch)
tree4c8c85adad625fc62fa7f3c0bc420a2c9a78c137 /Documentation/robust-futexes.txt
parentLinux 4.0-rc1 (diff)
downloadkernel-qcow2-linux-9c4f757ee9c64623efec61672305f87452f68968.tar.gz
kernel-qcow2-linux-9c4f757ee9c64623efec61672305f87452f68968.tar.xz
kernel-qcow2-linux-9c4f757ee9c64623efec61672305f87452f68968.zip
ARM: OMAP2+: gpmc: Fix writing in gpmc_cs_set_memconf
Some GPMC_CONFIG7 register bits marked as "RESERVED", means they shouldn't be overwritten. A typical approach to handle such bits called "Read-Modify-Write". Writing procedure used in gpmc_cs_set_memconf() utilizes RMW technique, but implemented incorrectly. Due to obvious typo in code read register value is being rewritten by another value, which leads to loss of read RESERVED bits. This patch fixes this. While at it, replace magic numbers with named constants to improve code readability. Signed-off-by: Semen Protsenko <semen.protsenko@globallogic.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Roger Quadros <rogerq@ti.com>
Diffstat (limited to 'Documentation/robust-futexes.txt')
0 files changed, 0 insertions, 0 deletions