]> git.itanic.dy.fi Git - linux-stable/commit
pinctrl: single: Fix missing flush of posted write for a wakeirq
authorTony Lindgren <tony@atomide.com>
Tue, 31 May 2016 21:17:06 +0000 (14:17 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 22 Aug 2016 21:38:17 +0000 (22:38 +0100)
commit5ae048dd5b0be1c7a2998e90c4b862e5ebcd38ef
tree0bd13386fda3d6afa673f1fdef786c25d2101211
parentc8793561f75a27eedc5928fe8b55e49ddb871eed
pinctrl: single: Fix missing flush of posted write for a wakeirq

commit 0ac3c0a4025f41748a083bdd4970cb3ede802b15 upstream.

With many repeated suspend resume cycles, the pin specific wakeirq
may not always work on omaps. This is because the write to enable the
pin interrupt may not have reached the device over the interconnect
before suspend happens.

Let's fix the issue with a flush of posted write with a readback.

Reported-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/pinctrl/pinctrl-single.c