]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: dra: dt-bindings: Fix output pull up/down
authorRoger Quadros <rogerq@ti.com>
Mon, 3 Nov 2014 10:09:52 +0000 (12:09 +0200)
committerTony Lindgren <tony@atomide.com>
Mon, 10 Nov 2014 22:29:20 +0000 (14:29 -0800)
commit66e911fba208934a0d9c213eeb4d67ebeb5364f0
treec28fd6422072f99e3b12e7f728d7fad32e67cc7f
parentcaea36e1cd5176c8db3569468a09a46332405af1
pinctrl: dra: dt-bindings: Fix output pull up/down

For PIN_OUTPUT_PULLUP and PIN_OUTPUT_PULLDOWN we must not set the
PULL_DIS bit which disables the PULLs.

PULL_ENA is a 0 and using it in an OR operation is a NOP, so don't
use it in the PIN_OUTPUT_PULLUP/DOWN macros.

Fixes: 234ec23c1cd6 ("pinctrl: dra: dt-bindings: Fix pull enable/disable")
Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
include/dt-bindings/pinctrl/dra.h