Go to file
Axel Lin fa4007ca06 gpio: mpc8xxx: Fixup setting gpio direction output
For devtype with specific gpio_dir_out implementation, current code is
wrong because below code sets both gc->direction_output and
mpc8xxx_gc->direction_output to the same function.

gc->direction_output = devtype->gpio_dir_out ?: gc->direction_output;
mpc8xxx_gc->direction_output = gc->direction_output;

Set mpc8xxx_gc->direction_output = gc->direction_output first to fix it.
This way mpc8xxx_gc->direction_output actually calls the standard
bgpio_dir_out() to update register.

Fixes: commit 42178e2a1e ("drivers/gpio: Switch gpio-mpc8xxx to use gpio-generic")
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2016-03-09 10:41:23 +07:00
Documentation gpio: mcp23s08: Add support for mcp23s18 2016-03-09 09:50:37 +07:00
arch MIPS: txx9: rbtx4938: switch to gpiochip_add_data() 2016-02-19 09:51:44 +01:00
block Initial roundup of 4.5 merge window patches 2016-01-23 18:45:06 -08:00
certs certs: add .gitignore to stop git nagging about x509_certificate_list 2015-10-21 15:18:35 +01:00
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2016-01-22 11:58:43 -08:00
drivers gpio: mpc8xxx: Fixup setting gpio direction output 2016-03-09 10:41:23 +07:00
firmware WHENCE: use https://linuxtv.org for LinuxTV URLs 2015-12-04 10:35:11 -02:00
fs Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2016-01-24 12:50:56 -08:00
include gpio: lp3943: Drop pin_used and lp3943_gpio_request/lp3943_gpio_free 2016-03-09 09:17:55 +07:00
init mm: memcontrol: rein in the CONFIG space madness 2016-01-20 17:09:18 -08:00
ipc Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2016-01-23 12:24:56 -08:00
kernel wrappers for ->i_mutex access 2016-01-22 18:04:28 -05:00
lib Initial roundup of 4.5 merge window patches 2016-01-23 18:45:06 -08:00
mm vmstat: Remove BUG_ON from vmstat_update 2016-01-24 08:55:52 -08:00
net Rework and error handling fixes, primarily in the fscatch and fd transports. 2016-01-24 12:39:09 -08:00
samples Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-11-17 13:52:59 -08:00
scripts UBSAN: run-time undefined behavior sanity checker 2016-01-20 17:09:18 -08:00
security wrappers for ->i_mutex access 2016-01-22 18:04:28 -05:00
sound sound fixes for 4.5-rc1 2016-01-22 11:53:56 -08:00
tools gpio: present the consumer of a line to userspace 2016-02-25 21:07:23 +01:00
usr usr/Kconfig: make initrd compression algorithm selection not expert 2014-12-13 12:42:52 -08:00
virt kvm: rename pfn_t to kvm_pfn_t 2016-01-15 17:56:32 -08:00
.get_maintainer.ignore Add hch to .get_maintainer.ignore 2015-08-21 14:30:10 -07:00
.gitignore Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2015-09-08 14:23:13 -07:00
.mailmap mailmap: update Javier Martinez Canillas' email 2015-10-23 17:55:10 +09:00
COPYING
CREDITS ./CREDITS: add credit information for Martin Kepplinger 2016-01-20 17:09:18 -08:00
Kbuild time: Remove development rules from Kbuild/Makefile 2015-07-01 09:57:35 +02:00
Kconfig
MAINTAINERS Merge branch 'chardev' into devel 2016-02-09 12:58:19 +01:00
Makefile Linux 4.5-rc1 2016-01-24 13:06:47 -08:00
README README: Add ARC architecture 2015-09-18 10:05:29 -06:00
README.md Share upstreaming patches 2016-02-23 19:33:35 +05:30
REPORTING-BUGS Docs: Move ref to Frohwalt Egerer to end of REPORTING-BUGS 2013-04-18 16:55:09 -07:00

README.md

linux-upstream

This is for sharing upstreaming activities.