aboutsummaryrefslogtreecommitdiffstats
path: root/sound/last.c
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2019-03-28 10:39:25 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2019-04-10 17:47:24 +0200
commitb39544c6e02fdf86c394a9367b10e707b800f4d7 (patch)
treeee526754ce44a5939ec037e1d38d301ae17132c0 /sound/last.c
parents390/qdio: fix output of DSCI value in debug file (diff)
downloadlinux-dev-b39544c6e02fdf86c394a9367b10e707b800f4d7.tar.xz
linux-dev-b39544c6e02fdf86c394a9367b10e707b800f4d7.zip
s390/qdio: pass up count of ready-to-process SBALs
When qdio_{in,out}bound_q_moved() scans a queue for pending work, it currently only returns a boolean to its caller. The interface to the upper-layer-drivers (qdio_kick_handler() and qdio_get_next_buffers()) then re-calculates the number of pending SBALs from the q->first_to_check and q->first_to_kick cursors. Refactor this so that whenever get_{in,out}bound_buffer_frontier() adjusted the queue's first_to_check cursor, it also returns the corresponding count of ready-to-process SBALs (and 0 else). A subsequent patch will then make use of this additional information. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Reviewed-by: Jens Remus <jremus@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'sound/last.c')
0 files changed, 0 insertions, 0 deletions