linux/arch/blackfin
Sonic Zhang f70de486b2 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>
2013-11-15 17:33:41 +08:00
..
boot blackfin: Ignore generated uImages 2013-09-13 10:42:39 +08:00
configs arch: Change defconfigs to point to g_mass_storage. 2012-11-08 16:00:52 +02:00
include blackfin: scb: Add system crossbar init code. 2013-09-13 10:42:27 +08:00
kernel Blackfin: bfin_gpio: Use proper mask for comparing pfunc 2013-11-15 17:33:41 +08:00
lib blackfin: license: Change ADI BSD license 2012-05-21 14:54:30 +08:00
mach-bf518 blackfin: anomaly: add anomaly 16000030 for bf5xx 2012-12-13 15:22:03 +08:00
mach-bf527 blackfin: Remove references to the bf5x_tdm driver 2013-05-30 12:33:41 +01:00
mach-bf533 blackfin: bf533-stamp: Remove bogus "||" 2013-06-01 23:17:06 +01:00
mach-bf537 blackfin: Remove references to the bf5x_tdm driver 2013-05-30 12:33:41 +01:00
mach-bf538 blackfin: twi: Remove bogus #endif 2013-05-07 18:26:28 +08:00
mach-bf548 blackfin: Remove references to the bf5x_tdm driver 2013-05-30 12:33:41 +01:00
mach-bf561 blackfin: delete __cpuinit usage from all blackfin files 2013-07-14 19:36:53 -04:00
mach-bf609 blackfin: Add STMMAC platform data to enable dwmac1000 driver on BF60x. 2013-09-13 10:42:38 +08:00
mach-common blackfin: scb: Add system crossbar init code. 2013-09-13 10:42:27 +08:00
mm mm/blackfin: prepare for removing num_physpages and simplify mem_init() 2013-07-03 16:07:35 -07:00
oprofile Blackfin arch: remove hardware PM code, oprofile not use it 2009-01-07 23:14:39 +08:00
Clear_BSD.txt blackfin: license: Change ADI BSD license 2012-05-21 14:54:30 +08:00
Kconfig Remove GENERIC_HARDIRQ config option 2013-09-13 15:09:52 +02:00
Kconfig.debug consolidate per-arch stack overflow debugging options 2013-07-04 11:25:39 -07:00
Makefile blackfin: rename vmImage to uImage after we move to buildroot 2013-05-07 18:26:39 +08:00