summaryrefslogtreecommitdiffstats
path: root/fs/compat_binfmt_elf.c
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2013-07-01 11:24:46 +0800
committerSteven Miao <realmz6@gmail.com>2013-11-15 17:33:41 +0800
commitf70de486b2dd21b60705e57afecdc5f6a79be4e7 (patch)
tree636ec819180492fc6d6f2947e111fda26a35efde /fs/compat_binfmt_elf.c
parent5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52 (diff)
downloadlinux-f70de486b2dd21b60705e57afecdc5f6a79be4e7.tar.bz2
Blackfin: bfin_gpio: Use proper mask for comparing pfunc
For BF537_FAMILY, when offset != 1, the mask is 1. Thus add proper mask for comparing pfunc with function. Also has small refactor for better readability. In portmux_setup(), it looks odd having "pmux &= ~(3 << 1);" while in current code we do pmux |= (function << offset);. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Diffstat (limited to 'fs/compat_binfmt_elf.c')
0 files changed, 0 insertions, 0 deletions