summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-fsl-lpspi.c
diff options
context:
space:
mode:
authorStefano Stabellini <sstabellini@kernel.org>2018-12-22 02:06:32 +0300
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>2019-01-02 19:00:31 +0300
commitd90a1ca60a1eccb4383fe203c76223ab4c0799ed (patch)
treea4b61eaf0953ed2005a0ccb3a00d025b2addee56 /drivers/spi/spi-fsl-lpspi.c
parentbeee1fbe8f7d57d6ebaa5188f9f4db89c2077196 (diff)
downloadlinux-d90a1ca60a1eccb4383fe203c76223ab4c0799ed.tar.xz
pvcalls-front: don't return error when the ring is full
When the ring is full, size == array_size. It is not an error condition, so simply return 0 instead of an error. Signed-off-by: Stefano Stabellini <stefanos@xilinx.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'drivers/spi/spi-fsl-lpspi.c')
0 files changed, 0 insertions, 0 deletions