pinctrl: baytrail: Add missing spinlock usage in byt_gpio_irq_handler
authorAlexander Stein <alexander.stein@systec-electronic.com>
Mon, 30 Jan 2017 11:35:28 +0000 (12:35 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 30 Jan 2017 14:53:57 +0000 (15:53 +0100)
commitcdca06e4e85974d8a3503ab15709dbbaf90d3dd1
tree268b0c01070a957006db97c88dccb5fb061440ff
parent1b89970d81bbd52720fc64a3fe9572ee33588363
pinctrl: baytrail: Add missing spinlock usage in byt_gpio_irq_handler

According to VLI64 Intel Atom E3800 Specification Update (#329901)
concurrent read accesses may result in returning 0xffffffff and write
accesses may be dropped silently.
To workaround all accesses must be protected by locks.

Cc: stable@vger.kernel.org
Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/intel/pinctrl-baytrail.c