commit | f0f54a806b2df97485519a7c4ebc45feed08a306 | [log] [tgz] |
---|---|---|
author | Soren Brinkmann <soren.brinkmann@xilinx.com> | Sat Dec 26 02:43:50 2015 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Feb 06 22:52:09 2016 -0800 |
tree | e3bc29f241716265548140ef3b6f6fed016b6537 | |
parent | e3538c37ee383228cb9f89fb9312c417f5eb3bfc [diff] |
tty: xuartps: Use spinlock to serialize HW access Instead of disabling the IRQ, use the spin lock to serialize accesses to the HW. This protects the driver from interference of non-IRQ callbacks with each other and makes the driver more consistent in its serialization method. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Reviewed-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>