summaryrefslogtreecommitdiffstats
path: root/drivers/ps3
diff options
context:
space:
mode:
authorAlberto Garcia <agarcia@igalia.com>2012-12-10 11:49:57 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-15 18:24:37 -0800
commitcc83f833c77c1d233e3843af18c1abf8d561d1fa (patch)
treec0de5dbd0e39e02fb4eaacb5c3e20317bdae2152 /drivers/ps3
parent8e9a4a9a5c8e8765417d54ed6917c7e1e4d09f4d (diff)
downloadop-kernel-dev-cc83f833c77c1d233e3843af18c1abf8d561d1fa.zip
op-kernel-dev-cc83f833c77c1d233e3843af18c1abf8d561d1fa.tar.gz
ipack/devices/ipoctal: Fix race condition during Tx
In order to transmit data, the driver enables Tx and sleeps until *board_write is set to 1 by the interrupt handler. It can happen, though, that the data is sent even before the process is asleep. In this case *board_write must be set to 1 anyway, otherwise we will be waiting for a condition that will never be true. Signed-off-by: Alberto Garcia <agarcia@igalia.com> Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ps3')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud