pinctrl: single: Fix missing flush of posted write for a wakeirq

commit 0ac3c0a402 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>
This commit is contained in:
Tony Lindgren 2016-05-31 14:17:06 -07:00 • committed by Ben Hutchings
commit 5ae048dd5b