summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorRick Farrington2018-08-28 20:32:55 +0200
committerDavid S. Miller2018-08-30 04:47:52 +0200
commitb943f17e06493fd2c7fd00743093ad5dcdb90e7f (patch)
treec11e87c4f0720b3b86a99c01a19b24b58f162606 /sound
parentliquidio: remove unnecessary delay when processing IQ responses (diff)
downloadkernel-qcow2-linux-b943f17e06493fd2c7fd00743093ad5dcdb90e7f.tar.gz
kernel-qcow2-linux-b943f17e06493fd2c7fd00743093ad5dcdb90e7f.tar.xz
kernel-qcow2-linux-b943f17e06493fd2c7fd00743093ad5dcdb90e7f.zip
liquidio: fix race condition in instruction completion processing
In lio_enable_irq, the pkt_in_done count register was being cleared to zero. However, there could be some completed instructions which were not yet processed due to budget and limit constraints. So, only write this register with the number of actual completions that were processed. Signed-off-by: Rick Farrington <ricardo.farrington@cavium.com> Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions