From: Vladimir Zapolskiy Date: Wed, 29 Apr 2015 15:35:01 +0000 (+0300) Subject: gpio: mxc: read output value from GPIO_DR register X-Git-Tag: omap-for-v4.3/legacy-v2-signed~191^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=442b2494b17d1a4f0a14721580271eb23ebffd42;p=pandora-kernel.git gpio: mxc: read output value from GPIO_DR register All supported iMX GPIO controllers store configured GPIO output value in GPIO_DR data register, which is represented by GPIO generic reg_set. Provide a BGPIOF_READ_OUTPUT_REG_SET flag to bgpio_init() to allow correct getting of previously set output value. Signed-off-by: Vladimir Zapolskiy Signed-off-by: Linus Walleij --- Reading git-diff-tree failed